emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105133: lisp/textmodes/bibtex.el: sm


From: Roland Winkler
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105133: lisp/textmodes/bibtex.el: small bug fixes
Date: Tue, 12 Jul 2011 08:37:38 -0500
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105133
committer: Roland Winkler <address@hidden>
branch nick: trunk
timestamp: Tue 2011-07-12 08:37:38 -0500
message:
  lisp/textmodes/bibtex.el: small bug fixes
modified:
  lisp/ChangeLog
  lisp/textmodes/bibtex.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-07-12 13:01:20 +0000
+++ b/lisp/ChangeLog    2011-07-12 13:37:38 +0000
@@ -1,3 +1,9 @@
+2011-07-12  Roland Winkler  <address@hidden>
+
+       * textmodes/bibtex.el (bibtex-initialize): Use
+       pop-to-buffer-same-window.
+       (bibtex-search-entries): Fix interactive call.
+
 2011-07-12  Lars Magne Ingebrigtsen  <address@hidden>
 
        * progmodes/compile.el (compilation-error-regexp-alist-alist):

=== modified file 'lisp/textmodes/bibtex.el'
--- a/lisp/textmodes/bibtex.el  2011-07-05 17:44:15 +0000
+++ b/lisp/textmodes/bibtex.el  2011-07-12 13:37:38 +0000
@@ -3060,7 +3060,7 @@
     ;; select BibTeX buffer
     (if select
         (if buffer-list
-            (switch-to-buffer
+            (pop-to-buffer-same-window
              (completing-read "Switch to BibTeX buffer: "
                               (mapcar 'buffer-name buffer-list)
                               nil t
@@ -5179,7 +5179,7 @@
           (delete-dups
            (apply 'append
                   bibtex-user-optional-fields
-                  (mapcar (lambda (x) (mapcar 'car (apply 'append (cdr x))))
+                  (mapcar (lambda (x) (mapcar 'car (apply 'append (nthcdr 2 
x))))
                           bibtex-entry-alist))) nil t)
          (read-string "Regexp: ")
          (if bibtex-search-entry-globally


reply via email to

[Prev in Thread] Current Thread [Next in Thread]