From: Karl Heuer Date: Fri, 25 Oct 1996 04:43:06 +0000 (+0000) Subject: (Info-insert-dir): Ensure directory ends with slash. X-Git-Tag: emacs-20.1~3482 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3296453b8ba3432a0409c1b26c0741235d523bd9;p=emacs.git (Info-insert-dir): Ensure directory ends with slash. --- 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-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