Commit 3296453b authored by Karl Heuer's avatar Karl Heuer

(Info-insert-dir): Ensure directory ends with slash.

parent bf370e8c
......@@ -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
......
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