فهرست منبع

ox: Fix "user-error: Unable to resolve link nil" message

* lisp/ox.el (org-export-resolve-fuzzy-link): Fix typo preventing to
report the proper path of the broken link.

Reported-by: Eric S Fraga <e.fraga@ucl.ac.uk>
<http://permalink.gmane.org/gmane.emacs.orgmode/111357>
Nicolas Goaziou 8 سال پیش
والد
کامیت
909a04e011
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      lisp/ox.el

+ 1 - 2
lisp/ox.el

@@ -4267,8 +4267,7 @@ significant."
 		 (and (org-export-match-search-cell-p datum search-cells)
 		      datum)))))
 	(unless matches
-	  (signal 'org-link-broken
-		  (list (org-element-property :raw-path link))))
+	  (signal 'org-link-broken (list (org-element-property :path link))))
 	(puthash
 	 search-cells
 	 ;; There can be multiple matches for un-typed searches, i.e.,