diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-bib.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/init-bib.el b/lisp/init-bib.el index d35dea1..8cc4a1a 100644 --- a/lisp/init-bib.el +++ b/lisp/init-bib.el @@ -17,6 +17,7 @@ (add-hook 'bibtex-clean-entry-hook 'km/bibtex-single-space-author-list) (add-hook 'bibtex-clean-entry-hook 'km/bibtex-pages-use-double-hyphen) (add-hook 'bibtex-clean-entry-hook 'km/bibtex-remove-doi-leader) +(add-hook 'bibtex-clean-entry-hook 'km/bibtex-set-coding-system) (defvar km/bibtex-unimportant-title-words '("a" "aboard" "about" "above" "absent" "across" "after" "against" @@ -90,6 +91,9 @@ all other words unless they are protected by brackets." (goto-char beg) (fill-paragraph))))) +(defun km/bibtex-set-coding-system () + (set-buffer-file-coding-system 'utf-8)) + (defun km/bibtex-pages-use-double-hyphen () "Use double hyphen for page range." (interactive) |