Explorar o código

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 %!s(int64=11) %!d(string=hai) anos
pai
achega
4c4f91800e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)