Commit f0e1cd33 authored by Richard M. Stallman's avatar Richard M. Stallman

(Info-find-node): Don't treat file name `dir' specially

if it comes with a directory name.
parent d21e67b5
......@@ -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 `./'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment