emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/buff-menu.el


From: Luc Teirlinck
Subject: [Emacs-diffs] Changes to emacs/lisp/buff-menu.el
Date: Sun, 27 Nov 2005 18:55:30 -0500

Index: emacs/lisp/buff-menu.el
diff -c emacs/lisp/buff-menu.el:1.93 emacs/lisp/buff-menu.el:1.94
*** emacs/lisp/buff-menu.el:1.93        Thu Sep 29 22:56:45 2005
--- emacs/lisp/buff-menu.el     Sun Nov 27 23:55:30 2005
***************
*** 210,216 ****
        (prop (point-min))
        ;; do not make undo records for the reversion.
        (buffer-undo-list t))
!     (list-buffers-noselect Buffer-menu-files-only)
      (if oline
        (while (setq prop (next-single-property-change prop 'buffer))
          (when (eq (get-text-property prop 'buffer) oline)
--- 210,221 ----
        (prop (point-min))
        ;; do not make undo records for the reversion.
        (buffer-undo-list t))
!     ;; We can be called by Auto Revert Mode with the "*Buffer Menu*"
!     ;; temporarily the current buffer.  Make sure that the
!     ;; interactively current buffer is correctly identified with a `.'
!     ;; by `list-buffers-noselect'.
!     (with-current-buffer (window-buffer)
!       (list-buffers-noselect Buffer-menu-files-only))
      (if oline
        (while (setq prop (next-single-property-change prop 'buffer))
          (when (eq (get-text-property prop 'buffer) oline)




reply via email to

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