summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-bib.el3
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.