aboutsummaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2020-02-23 11:57:40 -0500
committerRyan Kavanagh <rak@debian.org>2020-02-23 11:57:40 -0500
commit511f5fd53acbff86cc695b8f07f4abeaf3a470f9 (patch)
treed8c0954b076413f5abb1cc523f117ba1b4471b2f /.emacs
parentload org-ref* after helm-bibtex (diff)
bugfix
Diffstat (limited to '.emacs')
-rw-r--r--.emacs4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs b/.emacs
index 523f226..059587f 100644
--- a/.emacs
+++ b/.emacs
@@ -129,7 +129,7 @@
;; and replace spaces by concatenation
(let ((mclast (match-string 1 fullname)))
(when (string-match split-string-default-separators mclast)
- (replace-match "" nil nil mclast)))
+ (replace-match "" nil nil mclast))))
((string-match "\\([[:upper:]][^, ]*\\)[^,]*," fullname)
;; Name is of the form "von Last, First" or
;; "von Last, Jr, First"
@@ -151,7 +151,7 @@
(match-string 1 fullname))
(t (error "Name `%s' is incorrectly formed" fullname)))))
(funcall bibtex-autokey-name-case-convert-function
- (bibtex-autokey-abbrev name bibtex-autokey-name-length)))))
+ (bibtex-autokey-abbrev name bibtex-autokey-name-length))))
;; Until https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36252 gets fixed
(defun bibtex-autokey-get-year ()
"Return year field contents as a string obeying `bibtex-autokey-year-length'.