From f0e1cd33545b7494c2884f3e8359847bb6cb29d6 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 2 May 1996 06:08:40 +0000 Subject: [PATCH] (Info-find-node): Don't treat file name `dir' specially if it comes with a directory name. --- lisp/info.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/info.el b/lisp/info.el index bb232b33910..4d6813aa504 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -259,7 +259,7 @@ In standalone mode, \\\\[Info-exit] exits Emacs itself." (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 `./' -- 2.39.2