From 52a0198dfaaef4991d1f2089fcd7495b25f7c8c7 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Thu, 15 Jan 2009 15:41:32 +0000 Subject: [PATCH] (Buffer-menu-sort): Use revert-buffer, not Buffer-menu-revert. --- lisp/ChangeLog | 1 + lisp/buff-menu.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.39.2