Commit 52a0198d authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

(Buffer-menu-sort): Use revert-buffer, not Buffer-menu-revert.

parent f4c45b4f
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
   
* buff-menu.el (Buffer-menu-mode): Derive from special-mode. * buff-menu.el (Buffer-menu-mode): Derive from special-mode.
Refer to revert-buffer, not Buffer-menu-revert. 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-revert): Remove function, unused.
(Buffer-menu-mode-map): Don't bind keys already (Buffer-menu-mode-map): Don't bind keys already
bound by special-mode. bound by special-mode.
......
...@@ -639,7 +639,7 @@ For more information, see the function `buffer-menu'." ...@@ -639,7 +639,7 @@ For more information, see the function `buffer-menu'."
(if (or m1 m2) (if (or m1 m2)
(push (list buf m1 m2) l))) (push (list buf m1 m2) l)))
(forward-line))) (forward-line)))
(Buffer-menu-revert) (revert-buffer)
(save-excursion (save-excursion
(Buffer-menu-beginning) (Buffer-menu-beginning)
(while (not (eobp)) (while (not (eobp))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment