]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-insert-dir): Ensure directory ends with slash.
authorKarl Heuer <kwzh@gnu.org>
Fri, 25 Oct 1996 04:43:06 +0000 (04:43 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 25 Oct 1996 04:43:06 +0000 (04:43 +0000)
lisp/info.el

index efbd3e0fcf4d85b0913f380db328e9d4a44bcffc..733cd65398b1b425513959efa84953f21429af41 100644 (file)
@@ -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