Commit a9db66a4 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(rmail-revert): Use the default revert-buffer-function

parent 438759b3
......@@ -657,7 +657,7 @@ Instead, these commands are available:
;; Handle M-x revert-buffer done in an rmail-mode buffer.
(defun rmail-revert (arg noconfirm)
(let (revert-buffer-function)
(let ((revert-buffer-function (default-value 'revert-buffer-function)))
;; Call our caller again, but this time it does the default thing.
(if (revert-buffer arg noconfirm)
;; If the user said "yes", and we changed something,
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