1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-28 07:44:49 +00:00

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>
This commit is contained in:
Nicolas Goaziou 2017-01-11 21:00:37 +01:00
parent 34f86ce6a4
commit 909a04e011

View File

@ -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.,