Commit 46680faf authored by Karl Heuer's avatar Karl Heuer
Browse files

(dired-build-subdir-alist): Don't let looking-at destroy the match data.

parent 0a1763b4
......@@ -1368,7 +1368,7 @@ Returns the new value of the alist."
(goto-char (match-beginning 0))
(beginning-of-line)
(forward-char 2)
(looking-at dired-re-perms))))
(save-match-data (looking-at dired-re-perms)))))
(save-excursion
(goto-char (match-beginning 1))
(setq new-dir-name
......
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