summaryrefslogtreecommitdiff
path: root/lisp/info.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-05-02 06:08:40 +0000
committerRichard M. Stallman <rms@gnu.org>1996-05-02 06:08:40 +0000
commitf0e1cd33545b7494c2884f3e8359847bb6cb29d6 (patch)
tree205b7d54b47eb3dacd15c5ea410665bfd55b05dd /lisp/info.el
parentd21e67b565e6e54926856933ebf925aa7e476265 (diff)
downloademacs-f0e1cd33545b7494c2884f3e8359847bb6cb29d6.tar.gz
(Info-find-node): Don't treat file name `dir' specially
if it comes with a directory name.
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el2
1 files changed, 1 insertions, 1 deletions
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-mode-map>\\[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 `./'