summaryrefslogtreecommitdiff
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
commita9db66a4f1f842944907741070816f98cc4fb3eb (patch)
tree1fb10536aa35f76a4e94302bdb09714a163239d0
parent438759b31a73301f16f4650fef0caddd2e474db8 (diff)
downloademacs-a9db66a4f1f842944907741070816f98cc4fb3eb.tar.gz
(rmail-revert): Use the default revert-buffer-function
-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,