* lisp/info.el (info--ensure-not-in-directory-node): Fix the case
where "DIR" is in upper-case, and if 'Info-current-file' is an
absolute file name.
Problem reported by Eli Zaretskii <eliz@gnu.org>.
(Info-goto-node node)))
(defun info--ensure-not-in-directory-node ()
- (if (equal Info-current-file "dir")
+ (if (equal (downcase (file-name-nondirectory Info-current-file))
+ "dir")
(error (substitute-command-keys
(concat "The Info directory node has no index; "
"type \\[Info-menu] to select a manual")))))