lisp/info.el (Info-toc-build): If the Info file has no "Up" pointer,
don't pass the (nil) value of `upnode' to string-match.
+2012-01-14 Eli Zaretskii <eliz@gnu.org>
+
+ * info.el (Info-toc-build): If the Info file has no "Up" pointer,
+ don't pass the (nil) value of `upnode' to string-match.
+
2012-01-14 Chong Yidong <cyd@gnu.org>
* startup.el (command-line): Fix X resource class for cursorColor.
(match-string-no-properties 1)))
(section "Top")
menu-items)
- (when (string-match "(" upnode) (setq upnode nil))
+ (when (and upnode (string-match "(" upnode)) (setq upnode nil))
(when (and (not (Info-index-node nodename file))
(re-search-forward "^\\* Menu:" bound t))
(forward-line 1)