Correct suppression of suspicious eq type warning
* lisp/emacs-lisp/byte-run.el (with-suppressed-warnings): * lisp/emacs-lisp/bytecomp.el (bytecomp--warn-dodgy-eq-arg): Suppress warning using (suspicious FUNCTION), where FUNCTION is not always `eq`.
This commit is contained in:
parent
a77204c646
commit
9d0f5909af
2 changed files with 2 additions and 3 deletions
|
@ -653,8 +653,7 @@ types. The types that can be suppressed with this macro are
|
|||
`suspicious' and `empty-body'.
|
||||
|
||||
For the `mapcar' case, only the `mapcar' function can be used in
|
||||
the symbol list. For `suspicious', only `set-buffer', `lsh' and `eq'
|
||||
can be used."
|
||||
the symbol list."
|
||||
;; Note: during compilation, this definition is overridden by the one in
|
||||
;; byte-compile-initial-macro-environment.
|
||||
(declare (debug (sexp body)) (indent 1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue