org-info: Throw an error when following an info link fails
* lisp/org-info.el (org-info-follow-link): Throw an error instead of a message when search fails.
This commit is contained in:
parent
96e1971f0f
commit
4c4f91800e
|
@ -79,7 +79,7 @@
|
||||||
(Info-index nodename-or-index)
|
(Info-index nodename-or-index)
|
||||||
(user-error "Could not find '%s' node or index entry"
|
(user-error "Could not find '%s' node or index entry"
|
||||||
nodename-or-index)))))
|
nodename-or-index)))))
|
||||||
(message "Could not open: %s" name)))
|
(user-error "Could not open: %s" name)))
|
||||||
|
|
||||||
(provide 'org-info)
|
(provide 'org-info)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue