changeset 16462:de67834f456d

(Info-insert-dir): Ensure directory ends with slash.
author Karl Heuer <kwzh@gnu.org>
date Fri, 25 Oct 1996 04:43:06 +0000
parents 5c354ae6e9ae
children c6a338fd1938
files lisp/info.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Fri Oct 25 04:34:53 1996 +0000
+++ b/lisp/info.el	Fri Oct 25 04:43:06 1996 +0000
@@ -464,7 +464,8 @@
 			    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