* bibtex-find-entry PATCH
@ 2006-04-18 0:59 JD Smith
0 siblings, 0 replies; only message in thread
From: JD Smith @ 2006-04-18 0:59 UTC (permalink / raw)
`bibtex-find-entry' (C-c C-s) fails on BibTeX entries without the exact
casing for, e.g., "@Article". Would anyone object to this patch, which
fixes this? BibTeX itself is happy with "@ARTICLE", or any other casing.
JD
Index: bibtex.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/textmodes/bibtex.el,v
retrieving revision 1.113
diff -w -b -c -c -r1.113 bibtex.el
*** bibtex.el 9 Apr 2006 18:29:19 -0000 1.113
--- bibtex.el 18 Apr 2006 00:57:36 -0000
***************
*** 3303,3309 ****
(display (message "Key `%s' not found" key)))
found)
! (let* (case-fold-search
(pnt (save-excursion
(goto-char (or start (point-min)))
(if (re-search-forward (concat "^[ \t]*\\("
--- 3303,3309 ----
(display (message "Key `%s' not found" key)))
found)
! (let* ((case-fold-search t)
(pnt (save-excursion
(goto-char (or start (point-min)))
(if (re-search-forward (concat "^[ \t]*\\("
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-04-18 0:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-18 0:59 bibtex-find-entry PATCH JD Smith
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.