(rmail-revert): Use the default revert-buffer-function
authorRichard M. Stallman <rms@gnu.org>
Sun, 25 Jun 1995 03:06:56 +0000 (03:06 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 25 Jun 1995 03:06:56 +0000 (03:06 +0000)
lisp/mail/rmail.el

index 27ef3a8..2caa6c4 100644 (file)
@@ -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,