|
@@ -1051,10 +1051,11 @@ Return value is a list of numbers, or nil. This function allows
|
|
|
to resolve external fuzzy links like:
|
|
|
|
|
|
[[file.org::*fuzzy][description]"
|
|
|
- (cdr (assoc (org-split-string
|
|
|
- (if (eq (aref fuzzy 0) ?*) (substring fuzzy 1) fuzzy))
|
|
|
- (org-publish-cache-get-file-property
|
|
|
- (expand-file-name file) :numbering nil t))))
|
|
|
+ (when org-publish-cache
|
|
|
+ (cdr (assoc (org-split-string
|
|
|
+ (if (eq (aref fuzzy 0) ?*) (substring fuzzy 1) fuzzy))
|
|
|
+ (org-publish-cache-get-file-property
|
|
|
+ (expand-file-name file) :numbering nil t)))))
|
|
|
|
|
|
|
|
|
|