Merge branch 'maint' into master
This commit is contained in:
commit
583ecaed47
|
@ -574,15 +574,16 @@ Use :header-args: instead"
|
||||||
(let* ((path (org-element-property :path l))
|
(let* ((path (org-element-property :path l))
|
||||||
(file (if (string= type "file")
|
(file (if (string= type "file")
|
||||||
path
|
path
|
||||||
(org-attach-expand path))))
|
(org-with-point-at (org-element-property :begin l)
|
||||||
|
(org-attach-expand path)))))
|
||||||
(and (not (file-remote-p file))
|
(and (not (file-remote-p file))
|
||||||
(not (file-exists-p file))
|
(not (file-exists-p file))
|
||||||
(list (org-element-property :begin l)
|
(list (org-element-property :begin l)
|
||||||
(format (if (org-element-lineage l '(link))
|
(format (if (org-element-lineage l '(link))
|
||||||
"Link to non-existent image file %S \
|
"Link to non-existent image file %S \
|
||||||
in description"
|
in description"
|
||||||
"Link to non-existent local file %S"
|
"Link to non-existent local file %S")
|
||||||
file))))))
|
file)))))
|
||||||
(_ nil))))))
|
(_ nil))))))
|
||||||
|
|
||||||
(defun org-lint-non-existent-setupfile-parameter (ast)
|
(defun org-lint-non-existent-setupfile-parameter (ast)
|
||||||
|
|
Loading…
Reference in New Issue