Commit 8f279c86 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

Make checkdoc-file-comments-engine match more ;;;### forms

* lisp/emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): Use
the more general lisp-mode-autoload-regexp instead of
generate-autoload-cookie (i.e., also match ;;;###tramp-autoload).
parent da736c9f
Pipeline #18257 failed with stages
in 308 minutes and 49 seconds
......@@ -2464,11 +2464,9 @@ Code:, and others referenced in the style guide."
pos)
(goto-char (point-min))
;; match ";;;###autoload" cookie to keep it with the form
(require 'autoload)
(while (and cont (re-search-forward
(concat "^\\("
(regexp-quote generate-autoload-cookie)
"\n\\)?"
(concat "^\\(" lisp-mode-autoload-regexp
"\n\\)?"
"(")
nil t))
(setq pos (match-beginning 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment