From 3296453b8ba3432a0409c1b26c0741235d523bd9 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Fri, 25 Oct 1996 04:43:06 +0000 Subject: [PATCH] (Info-insert-dir): Ensure directory ends with slash. --- lisp/info.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5