mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-30 19:53:09 +00:00
(Info-follow-reference): Nice error msg if there was no arg.
This commit is contained in:
parent
e3c55541bd
commit
ebf8f7e14a
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user