summaryrefslogtreecommitdiff
path: root/lisp/init-bib.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/init-bib.el')
-rw-r--r--lisp/init-bib.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/init-bib.el b/lisp/init-bib.el
index 55d433b..1a0cd20 100644
--- a/lisp/init-bib.el
+++ b/lisp/init-bib.el
@@ -53,6 +53,8 @@ all other words unless they are protected by brackets."
(string= (match-string 3) "}"))
;; Go to previous character in case '}' is within the word.
(backward-char))
+ ;; Leave commands alone.
+ ((string= (match-string 1) "\\"))
;; Capitalize the first word of the title. This will fail if
;; there is a space after '{'.
((= (match-beginning 1) beg)