Commit 85a3be15 authored by Martin Rudalics's avatar Martin Rudalics

(dired-buffer-stale-p): Do not revert buffer that can be written.

parent 58279503
2008-08-23 Martin Rudalics <rudalics@gmx.at>
* dired.el (dired-buffer-stale-p): Do not revert buffer that
can be written.
2008-08-23 Glenn Morris <rgm@gnu.org>
* dired-x.el (dired-guess-shell-alist-default): Add .mp3 and .ogg.
......
......@@ -717,6 +717,9 @@ for a remote directory. This feature is used by Auto Revert Mode."
(and (stringp dirname)
(not (when noconfirm (file-remote-p dirname)))
(file-readable-p dirname)
;; Do not auto-revert when the dired buffer can be currently
;; written by the user as in `wdired-mode'.
buffer-read-only
(dired-directory-changed-p dirname))))
(defun dired-internal-noselect (dir-or-list &optional switches mode)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment