diff --git a/lisp/org-lint.el b/lisp/org-lint.el index 351f92b16..ff2999cb8 100644 --- a/lisp/org-lint.el +++ b/lisp/org-lint.el @@ -652,7 +652,7 @@ in description" (when (equal (org-element-property :key k) "INCLUDE") (let* ((value (org-element-property :value k)) (path - (and (string-match "^\\(\".+\"\\|\\S-+\\)[ \t]*" value) + (and (string-match "^\\(\".+?\"\\|\\S-+\\)[ \t]*" value) (save-match-data (org-strip-quotes (match-string 1 value)))))) (if (not path)