diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-03-29 00:37:33 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-03-30 01:43:22 -0400 |
commit | 70ab97c521ea940b2c72480a20b43cd96e2876c5 (patch) | |
tree | c42fcdf39392c25bcb006c1fd0ed98d5d855e9da /lisp | |
parent | 0c7281e8c6c5e8869a88235a13853afba7bc5703 (diff) | |
download | emacs.d-70ab97c521ea940b2c72480a20b43cd96e2876c5.tar.gz |
bibtex-use-title-case: Don't touch commands
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-bib.el | 2 |
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) |