diff lisp/info.el @ 15126:f9d06e4e877c

(Info-find-node): Don't treat file name `dir' specially if it comes with a directory name.
author Richard M. Stallman <rms@gnu.org>
date Thu, 02 May 1996 06:08:40 +0000
parents 60ff6e57ddbd
children 4935ada40f67
line wrap: on
line diff
--- a/lisp/info.el	Wed May 01 23:25:33 1996 +0000
+++ b/lisp/info.el	Thu May 02 06:08:40 1996 +0000
@@ -259,7 +259,7 @@
   (if filename
       (let (temp temp-downcase found)
 	(setq filename (substitute-in-file-name filename))
-	(if (string= (downcase (file-name-nondirectory filename)) "dir")
+	(if (string= (downcase filename) "dir")
 	    (setq found t)
 	  (let ((dirs (if (string-match "^\\./" filename)
 			  ;; If specified name starts with `./'