aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/autorevert.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a54e2272d47..e7be006ac8f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12008-03-26 Stefan Monnier <monnier@iro.umontreal.ca> 12008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * autorevert.el (auto-revert-buffers): Use buffer-live-p.
4
3 * help-fns.el (describe-function-1, describe-variable): If no 5 * help-fns.el (describe-function-1, describe-variable): If no
4 replacement is provided, don't print "use nil instead". 6 replacement is provided, don't print "use nil instead".
5 7
diff --git a/lisp/autorevert.el b/lisp/autorevert.el
index 2cca9b06568..dff842855e8 100644
--- a/lisp/autorevert.el
+++ b/lisp/autorevert.el
@@ -530,7 +530,7 @@ the timer when no buffers need to be checked."
530 (not (and auto-revert-stop-on-user-input 530 (not (and auto-revert-stop-on-user-input
531 (input-pending-p)))) 531 (input-pending-p))))
532 (let ((buf (car bufs))) 532 (let ((buf (car bufs)))
533 (if (buffer-name buf) ; Buffer still alive? 533 (if (buffer-live-p buf)
534 (with-current-buffer buf 534 (with-current-buffer buf
535 ;; Test if someone has turned off Auto-Revert Mode in a 535 ;; Test if someone has turned off Auto-Revert Mode in a
536 ;; non-standard way, for example by changing major mode. 536 ;; non-standard way, for example by changing major mode.