summaryrefslogtreecommitdiff
path: root/lisp/init-bib.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/init-bib.el')
-rw-r--r--lisp/init-bib.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/init-bib.el b/lisp/init-bib.el
index 653ad6a..ecdd1f1 100644
--- a/lisp/init-bib.el
+++ b/lisp/init-bib.el
@@ -51,6 +51,7 @@ capitalized."
(backward-word)
(capitalize-word 1))))))
-(add-hook 'bibtex-clean-entry-hook 'km/bibtex-use-title-case)
+(defadvice bibtex-clean-entry (before convert-to-title-case activate)
+ (km/bibtex-use-title-case))
(provide 'init-bib)