off leading { and trailing } from field values.
+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.
;; 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))