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

org-lint-timestamp-syntax: Improve lint message

* lisp/org-lint.el (org-lint-timestamp-syntax): Mention the original
timestamp in the link message.

Reported-by: Fraga, Eric <e.fraga@ucl.ac.uk>
Link: https://orgmode.org/list/87y1iuyb3m.fsf@ucl.ac.uk
This commit is contained in:
Ihor Radchenko 2023-08-02 09:31:44 +03:00
parent 20d90b9790
commit 7b80334fda
No known key found for this signature in database
GPG key ID: 6470762A7DA11D8B

View file

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