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 @@
 
* 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.
......
......@@ -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))
......
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