diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-01-19 21:34:52 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-01-19 21:34:52 -0500 |
commit | 7f0986d2416f185d7a0bcf52d09e32cfd3cc4877 (patch) | |
tree | a6f867468180ab3aee1f46410ca1f901abdc6229 | |
parent | eefbdf5d92a9a7e2264794c01849c3551195557f (diff) | |
download | emacs.d-7f0986d2416f185d7a0bcf52d09e32cfd3cc4877.tar.gz |
Use hook to run bibtex-use-title-case
-rw-r--r-- | lisp/init-bib.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/init-bib.el b/lisp/init-bib.el index 420ca06..b03af20 100644 --- a/lisp/init-bib.el +++ b/lisp/init-bib.el @@ -51,8 +51,7 @@ capitalized." (backward-word) (capitalize-word 1)))))) -(defadvice bibtex-clean-entry (before convert-to-title-case activate) - (km/bibtex-use-title-case)) +(add-hook 'bibtex-clean-entry-hook 'km/bibtex-use-title-case) (defun km/browse-doi (doi) "Open DOI in browser. |