2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
+ * autorevert.el (auto-revert-buffers): Use buffer-live-p.
+
* help-fns.el (describe-function-1, describe-variable): If no
replacement is provided, don't print "use nil instead".
(not (and auto-revert-stop-on-user-input
(input-pending-p))))
(let ((buf (car bufs)))
- (if (buffer-name buf) ; Buffer still alive?
+ (if (buffer-live-p buf)
(with-current-buffer buf
;; Test if someone has turned off Auto-Revert Mode in a
;; non-standard way, for example by changing major mode.