Commit 4fdd647e authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Info-insert-dir): Ignore duplicate directories.

parent 19eaeb86
......@@ -313,7 +313,9 @@ to read a file name from the minibuffer."
(find-file-noselect temp)))))
(setq dirs-done
(cons (file-truename (expand-file-name (car dirs)))
dirs-done))
(cons (directory-file-name
(file-truename (expand-file-name (car dirs))))
dirs-done)))
(if buffer (setq buffers (cons buffer buffers)))))
(setq dirs (cdr dirs)))
......
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