* test/automated/auto-revert-tests.el
(auto-revert-test02-auto-revert-mode-dired): Narrow *Messages*
buffer where it belongs to. (Bug#21668)
buf)
(unwind-protect
(progn
- (with-current-buffer (get-buffer-create "*Messages*")
- (narrow-to-region (point-max) (point-max)))
(setq buf (dired-noselect temporary-file-directory))
(with-current-buffer buf
;; `buffer-stale--default-function' checks for
;; Delete file. We wait for a second, in order to have
;; another timestamp.
+ (with-current-buffer (get-buffer-create "*Messages*")
+ (narrow-to-region (point-max) (point-max)))
(sleep-for 1)
(delete-file tmpfile)