aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Winkler2011-07-12 08:37:38 -0500
committerRoland Winkler2011-07-12 08:37:38 -0500
commitff8be6ef0717b99cbfa4a3208417af5b86917807 (patch)
tree5609f60bb678c5cd327ec6f066ac1ecffb4c6559
parent9d6f1d90417f8f4b477fb4bc8b8537ed375a1a69 (diff)
downloademacs-ff8be6ef0717b99cbfa4a3208417af5b86917807.tar.gz
emacs-ff8be6ef0717b99cbfa4a3208417af5b86917807.zip
lisp/textmodes/bibtex.el: small bug fixes
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/textmodes/bibtex.el4
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d503171245d..b4334e18a38 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12011-07-12 Roland Winkler <winkler@gnu.org>
2
3 * textmodes/bibtex.el (bibtex-initialize): Use
4 pop-to-buffer-same-window.
5 (bibtex-search-entries): Fix interactive call.
6
12011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org> 72011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 8
3 * progmodes/compile.el (compilation-error-regexp-alist-alist): 9 * progmodes/compile.el (compilation-error-regexp-alist-alist):
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index 930d3200234..a660bdb6488 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -3060,7 +3060,7 @@ When called interactively, FORCE is t, CURRENT is t if current buffer uses
3060 ;; select BibTeX buffer 3060 ;; select BibTeX buffer
3061 (if select 3061 (if select
3062 (if buffer-list 3062 (if buffer-list
3063 (switch-to-buffer 3063 (pop-to-buffer-same-window
3064 (completing-read "Switch to BibTeX buffer: " 3064 (completing-read "Switch to BibTeX buffer: "
3065 (mapcar 'buffer-name buffer-list) 3065 (mapcar 'buffer-name buffer-list)
3066 nil t 3066 nil t
@@ -5179,7 +5179,7 @@ where FILE is the BibTeX file of ENTRY."
5179 (delete-dups 5179 (delete-dups
5180 (apply 'append 5180 (apply 'append
5181 bibtex-user-optional-fields 5181 bibtex-user-optional-fields
5182 (mapcar (lambda (x) (mapcar 'car (apply 'append (cdr x)))) 5182 (mapcar (lambda (x) (mapcar 'car (apply 'append (nthcdr 2 x))))
5183 bibtex-entry-alist))) nil t) 5183 bibtex-entry-alist))) nil t)
5184 (read-string "Regexp: ") 5184 (read-string "Regexp: ")
5185 (if bibtex-search-entry-globally 5185 (if bibtex-search-entry-globally