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:
parent
20d90b9790
commit
7b80334fda
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue