summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
authornoa2025-02-16 22:19:30 +0800
committernoa2025-02-16 22:19:30 +0800
commit7b47be4253f587e5e86b88cea03b203334f7516c (patch)
tree29fdb48cac6719302ed7d6f9c37e9bf7f582eaf2 /emacs/init.el
parentda2304fafb19e451dda57d18123b2e47146cf1ed (diff)
Move bibtex configuration out of biblio and into bibtex block
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el21
1 files changed, 10 insertions, 11 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 1bf2d66..3f03012 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -263,8 +263,7 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
   (auto-save-timeout 5) ;; every 5 seconds
   (auto-save-no-message t)
   ;; Always give me a line of text when i'm near the edges of the screen
-  (scroll-margin 2)
-  )
+  (scroll-margin 2))
 
 (use-package dired
   :defer t
@@ -746,14 +745,7 @@ With prefix argument TIME, also add the current time."
                          unify-case
                          sort-fields))
   (bibtex-field-delimiters 'braces)
-  (bibtex-entry-delimiters 'braces))
-
-(use-package biblio
-  :disabled t
-  :ensure t
-  :defer t
-  :custom
-  (biblio-bibtex-use-autokey t)
+  (bibtex-entry-delimiters 'braces)
   ;; Use one name, appending ETAL if there is more than one author
   ;; The name should be all caps
   (bibtex-autokey-names 1)
@@ -768,7 +760,14 @@ With prefix argument TIME, also add the current time."
   (bibtex-autokey-titlewords t)
   (bibtex-autokey-titleword-length -1) ;; One character
   (bibtex-autokey-titleword-separator "")
-  (bibtex-autokey-titleword-case-convert-function 'upcase)
+  (bibtex-autokey-titleword-case-convert-function 'upcase))
+
+(use-package biblio
+  :disabled t
+  :ensure t
+  :defer t
+  :custom
+  (biblio-bibtex-use-autokey t)
   (biblio-download-directory "~/Documents/Library/Papers"))