From: Dan Nicolaescu Date: Thu, 15 Jan 2009 15:41:32 +0000 (+0000) Subject: (Buffer-menu-sort): Use revert-buffer, not Buffer-menu-revert. X-Git-Tag: emacs-pretest-23.0.90~433 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=52a0198dfaaef4991d1f2089fcd7495b25f7c8c7;p=emacs.git (Buffer-menu-sort): Use revert-buffer, not Buffer-menu-revert. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 081844833a0..fccd0e94479 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -2,6 +2,7 @@ * buff-menu.el (Buffer-menu-mode): Derive from special-mode. Refer to revert-buffer, not Buffer-menu-revert. + (Buffer-menu-sort): Use revert-buffer, not Buffer-menu-revert. (Buffer-menu-revert): Remove function, unused. (Buffer-menu-mode-map): Don't bind keys already bound by special-mode. diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index f9975098b5a..0bfebfc950d 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el @@ -639,7 +639,7 @@ For more information, see the function `buffer-menu'." (if (or m1 m2) (push (list buf m1 m2) l))) (forward-line))) - (Buffer-menu-revert) + (revert-buffer) (save-excursion (Buffer-menu-beginning) (while (not (eobp))