0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-24 21:32:52 +00:00

fixup! org-lint: Lint malformed timestamps

This commit is contained in:
Ihor Radchenko 2023-05-13 12:42:05 +02:00
parent ab542a6532
commit ef4d8adcaa
No known key found for this signature in database
GPG key ID: 6470762A7DA11D8B

View file

@ -1300,7 +1300,7 @@ AST is the buffer parse tree."
(org-element-property :begin timestamp)
(org-element-property :end timestamp))))
(unless (equal expected actual)
(list (org-element-begin timestamp)
(list (org-element-property :begin timestamp)
(format "Potentially malformed timestamp. Recognized: %s" expected)))))))
;;; Checkers declaration