mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-14 16:50:58 +00:00
(dired-readin): Clear modified flag at the very end.
This commit is contained in:
parent
f9b3ef8860
commit
8197b8bf92
@ -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)
|
||||
(dired-build-subdir-alist))))
|
||||
(dired-build-subdir-alist)
|
||||
(set-buffer-modified-p nil))))
|
||||
|
||||
;; Subroutines of dired-readin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user