Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6a80f50e
Commit
6a80f50e
authored
Dec 04, 2006
by
Richard M. Stallman
Browse files
(dired-revert): Turn off dired-after-readin-hook around call to dired-readin.
parent
49bb7f01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/dired.el
lisp/dired.el
+2
-2
No files found.
lisp/dired.el
View file @
6a80f50e
...
...
@@ -1045,9 +1045,9 @@ Preserves old cursor, marks/flags, hidden-p."
;; treat top level dir extra (it may contain wildcards)
(
dired-uncache
(
if
(
consp
dired-directory
)
(
car
dired-directory
)
dired-directory
))
(
dired-readin
)
;; Run dired-after-readin-hook just once, below.
(
let
((
dired-after-readin-hook
nil
))
;; don't run that hook for each subdir...
(
dired-readin
)
(
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment