From 2e469fa5475510dbce683399c95ac70f4e79698e Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Tue, 10 Nov 2020 04:14:44 -0600 Subject: [PATCH] Tidy: (org-ql--peg-parse-string) Silence, Checkdoc! --- org-ql.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/org-ql.el b/org-ql.el index 4e4e5fd..d0c2fe5 100644 --- a/org-ql.el +++ b/org-ql.el @@ -1672,9 +1672,12 @@ element should be a regexp string." (defvar peg-stack nil) (defmacro org-ql--peg-parse-string (rules string &optional noerror) - "Parse STRING according to RULES. -If NOERROR is non-nil, push nil resp. t if the parse failed -resp. succeded instead of signaling an error." + "Parse STRING according to RULES." + ;; This sentence was in the docstring but Checkdoc is complaining, + ;; so moving it to a comment: "If NOERROR is non-nil, push nil + ;; resp. t if the parse failed resp. succeded instead of signaling + ;; an error." + ;; Unfortunately, this macro was moved to peg-tests.el, so we copy it here. `(with-temp-buffer (insert ,string)