Commit ebf8f7e1 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Info-follow-reference): Nice error msg if there was no arg.

parent e3c55541
......@@ -1063,6 +1063,10 @@ NAME may be an abbreviation of the reference name."
(list (if (equal input "")
default input)))
(error "No cross-references in this node"))))
(unless footnotename
(error "No reference was specified"))
(let (target beg i (str (concat "\\*note " (regexp-quote footnotename)))
(case-fold-search t))
(while (setq i (string-match " " str i))
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