Browse Source

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.
Nicolas Goaziou 10 years ago
parent
commit
4c4f91800e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-info.el

+ 1 - 1
lisp/org-info.el

@@ -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)