Commit 25d91d94 authored by Stefan Monnier's avatar Stefan Monnier
Browse files


Don't tell to use \\{...} when it's already done.
parent 7c732021
......@@ -1561,8 +1561,9 @@ mouse-[0-3]\\)\\)\\>"))
;; to describe the most important commands in your major mode, and
;; then use `\\{...}' to display the rest of the mode's keymap.
(if (re-search-forward "\\\\\\\\\\[\\w+" e t
(1+ checkdoc-max-keyref-before-warn))
(if (and (re-search-forward "\\\\\\\\\\[\\w+" e t
(1+ checkdoc-max-keyref-before-warn))
(not (re-search-forward "\\\\\\\\{\\w+}" e t)))
"Too many occurrences of \\[function]. Use \\{keymap} instead"
s (marker-position e))))
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