aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/info.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-05-28 23:57:33 +0000
committerRichard M. Stallman <[email protected]>1993-05-28 23:57:33 +0000
commit4fdd647eb1de18c2483a061ff8ebad49b7e196db (patch)
tree1a7526e437a4575e2c4c3023ec38ff4db5de9644 /lisp/info.el
parent19eaeb86095f937821aa4051781477672adbc5f1 (diff)
(Info-insert-dir): Ignore duplicate directories.
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el
index e207964410..ae97bf2704 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -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)))