summaryrefslogtreecommitdiff
path: root/lisp/init-bib.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-01-26 02:00:22 -0500
committerKyle Meyer <kyle@kyleam.com>2014-01-26 02:00:22 -0500
commit4bcfb672357b5840249c72b28cb860001c4e3967 (patch)
tree13e236eaccfdf6985e576f3b07bdec937f2f7955 /lisp/init-bib.el
parent7869360008d87ca4b459c703f4894625dd8181cc (diff)
downloademacs.d-4bcfb672357b5840249c72b28cb860001c4e3967.tar.gz
Reorganize and use require-package
`require-package' is from https://github.com/purcell/emacs.d/blob/master/lisp/init-elpa.el.
Diffstat (limited to 'lisp/init-bib.el')
-rw-r--r--lisp/init-bib.el16
1 files changed, 7 insertions, 9 deletions
diff --git a/lisp/init-bib.el b/lisp/init-bib.el
index 7d91e93..23efcc5 100644
--- a/lisp/init-bib.el
+++ b/lisp/init-bib.el
@@ -1,14 +1,12 @@
;; Make cite key have form <last author last name><year><first word>.
-(setq bibtex-autokey-year-length 4)
-(setq bibtex-autokey-titleword-length nil)
-(setq bibtex-autokey-titlewords-stretch 0)
-(setq bibtex-autokey-titlewords 1)
-(setq bibtex-autokey-year-title-separator "")
-
-(setq bibtex-autokey-titleword-ignore
+(setq bibtex-autokey-year-length 4
+ bibtex-autokey-titleword-length nil
+ bibtex-autokey-titlewords-stretch 0
+ bibtex-autokey-titlewords 1
+ bibtex-autokey-year-title-separator ""
+ bibtex-autokey-titleword-ignore
'("A" "An" "On" "The" "Why" "How" "Where" "[0-9].*"))
-;; Used by `bibtex-fill-entry'.
-(setq bibtex-align-at-equal-sign t)
+(setq bibtex-align-at-equal-sign t) ; Used by `bibtex-fill-entry'.
(provide 'init-bib)