summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-01-28 17:54:39 -0500
committerKyle Meyer <kyle@kyleam.com>2014-01-28 18:19:27 -0500
commit6d1e71faa0c061a8f48487ba4338bb6d5cd96e4b (patch)
tree95bf533e6d60c34cabcb0da97a6320b252aac6a7 /lisp
parent1a25efe5135f3e48007e6cb80a8fb15c31489c3b (diff)
downloademacs.d-6d1e71faa0c061a8f48487ba4338bb6d5cd96e4b.tar.gz
Align and sort fields when clean bib entry
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-bib.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/init-bib.el b/lisp/init-bib.el
index 23efcc5..9dd3dcd 100644
--- a/lisp/init-bib.el
+++ b/lisp/init-bib.el
@@ -9,4 +9,8 @@
(setq bibtex-align-at-equal-sign t) ; Used by `bibtex-fill-entry'.
+(eval-after-load 'bibtex
+ '(setq bibtex-entry-format
+ (append '(realign sort-fields) bibtex-entry-format)))
+
(provide 'init-bib)