summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-06-25 03:06:56 +0000
committerRichard M. Stallman <rms@gnu.org>1995-06-25 03:06:56 +0000
commitee49f047a3f77d943bed7eee50f62ac80c6de11b (patch)
tree2955bdb90e2e40f5c5459c4ff0c4ad452b78bbbd /lisp/mail
parent6d81b05faa762fc53a57fc46c7d798b458dccc58 (diff)
downloademacs-ee49f047a3f77d943bed7eee50f62ac80c6de11b.tar.gz
(rmail-revert): Use the default revert-buffer-function
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/rmail.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 27ef3a8e7c1..2caa6c4168e 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -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,