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:
Nicolas Goaziou 2014-11-16 00:18:24 +01:00
parent 96e1971f0f
commit 4c4f91800e

View file

@ -79,7 +79,7 @@
(Info-index nodename-or-index)
(user-error "Could not find '%s' node or index entry"
nodename-or-index)))))
(message "Could not open: %s" name)))
(user-error "Could not open: %s" name)))
(provide 'org-info)