checkdoc: Don't ask to disambiguate mode names
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Don't ask to disambiguate mode names. (Bug#4110)
This commit is contained in:
parent
f17fb37c51
commit
79a9b50621
1 changed files with 4 additions and 1 deletions
|
@ -1653,7 +1653,10 @@ mouse-[0-3]\\)\\)\\>"))
|
|||
me (match-end 1))
|
||||
(if (and sym (boundp sym) (fboundp sym)
|
||||
checkdoc--disambiguate-symbol-flag
|
||||
(save-excursion
|
||||
;; Mode names do not need disambiguating. (Bug#4110)
|
||||
(not (string-match (rx "-mode" string-end)
|
||||
(symbol-name sym)))
|
||||
(save-excursion
|
||||
(goto-char mb)
|
||||
(forward-word-strictly -1)
|
||||
(not (looking-at
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue