summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/info.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el
index efbd3e0fcf4..733cd65398b 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -464,7 +464,8 @@ In standalone mode, \\<Info-mode-map>\\[Info-exit] exits Emacs itself."
Info-dir-file-attributes
(cons (cons file attrs)
Info-dir-file-attributes))))))
- (or (cdr dirs) (setq Info-dir-contents-directory (car dirs)))
+ (or (cdr dirs) (setq Info-dir-contents-directory
+ (file-name-as-directory (car dirs))))
(setq dirs (cdr dirs))))
(or buffers