mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-18 02:47:36 +00:00
* textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
off leading { and trailing } from field values.
This commit is contained in:
parent
78ce603d02
commit
da3cda2d10
2 changed files with 5 additions and 6 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2013-04-10 Tassilo Horn <tsdh@gnu.org>
|
||||
|
||||
* textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
|
||||
off leading { and trailing } from field values.
|
||||
|
||||
2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* emacs-lisp/timer.el (timer--check): New function.
|
||||
|
|
|
|||
|
|
@ -514,12 +514,6 @@
|
|||
;; remove extra whitespace
|
||||
(while (string-match "[\n\t\r]\\|[ \t][ \t]+" field)
|
||||
(setq field (replace-match " " nil t field)))
|
||||
;; remove leading garbage
|
||||
(if (string-match (if raw "^[ \t]+" "^[ \t{]+") field)
|
||||
(setq field (replace-match "" nil t field)))
|
||||
;; remove trailing garbage
|
||||
(if (string-match (if raw "[ \t]+$" "[ \t}]+$") field)
|
||||
(setq field (replace-match "" nil t field)))
|
||||
(push (cons key field) alist))))
|
||||
alist))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue