Commit 86a6e8e0 authored by Leo Liu's avatar Leo Liu Committed by Chong Yidong

* dired-aux.el (dired-do-redisplay): Postphone dired-after-readin-hook while...

* dired-aux.el (dired-do-redisplay): Postphone dired-after-readin-hook while mapping over marks (Bug#6810).
parent bc60f4de
2010-12-06 Leo <sdl.web@gmail.com>
* dired-aux.el (dired-do-redisplay): Postphone
dired-after-readin-hook while mapping over marks (Bug#6810).
2010-12-06 Chong Yidong <cyd@stupidchicken.com>
* image-dired.el (image-dired-db-file)
......
......@@ -1017,10 +1017,14 @@ See Info node `(emacs)Subdir switches' for more details."
;; message much faster than making dired-map-over-marks show progress
(dired-uncache
(if (consp dired-directory) (car dired-directory) dired-directory))
(dired-map-over-marks (let ((fname (dired-get-filename)))
(dired-map-over-marks (let ((fname (dired-get-filename))
;; Postphone readin hook till we map
;; over all marked files (Bug#6810).
(dired-after-readin-hook nil))
(message "Redisplaying... %s" fname)
(dired-update-file-line fname))
arg)
(run-hooks 'dired-after-readin-hook)
(dired-move-to-filename)
(message "Redisplaying...done")))
......
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