Commit 8197b8bf authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(dired-readin): Clear modified flag at the very end.

parent f9b3ef88
......@@ -477,11 +477,11 @@ If DIRNAME is already in a dired buffer, that buffer is used without refresh."
;; alist to be OK.
(message "Reading directory %s...done" dirname)
(set-buffer-modified-p nil)
;; Must first make alist buffer local and set it to nil because
;; dired-build-subdir-alist will call dired-clear-alist first
(set (make-local-variable 'dired-subdir-alist) nil)
(set-buffer-modified-p nil))))
;; Subroutines of dired-readin
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