From: Richard M. Stallman Date: Thu, 2 May 1996 06:08:40 +0000 (+0000) Subject: (Info-find-node): Don't treat file name `dir' specially X-Git-Tag: emacs-19.34~736 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f0e1cd33545b7494c2884f3e8359847bb6cb29d6;p=emacs.git (Info-find-node): Don't treat file name `dir' specially if it comes with a directory name. --- 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 `./'