Commit 6a80f50e authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(dired-revert): Turn off dired-after-readin-hook around call to dired-readin.

parent 49bb7f01
......@@ -1045,9 +1045,9 @@ Preserves old cursor, marks/flags, hidden-p."
;; treat top level dir extra (it may contain wildcards)
(if (consp dired-directory) (car dired-directory) dired-directory))
;; Run dired-after-readin-hook just once, below.
(let ((dired-after-readin-hook nil))
;; don't run that hook for each subdir...
(dired-insert-old-subdirs old-subdir-alist))
(dired-mark-remembered mark-alist) ; mark files that were marked
;; ... run the hook for the whole buffer, and only after markers
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