]> code.delx.au - gnu-emacs/blobdiff - lisp/emacs-lisp/cl-generic.el
* lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers): Remove warning
[gnu-emacs] / lisp / emacs-lisp / cl-generic.el
index c012a30a41f385b38e7f8bfc9e64dd214294b2dc..dd01ebe9dd88431e25c4a968ce15ee8c1aa52d96 100644 (file)
@@ -1069,8 +1069,11 @@ The value returned is a list of elements of the form
   (or
    (and (assq type cl--generic-typeof-types)
         (progn
-          (if (memq type '(vector array sequence))
-              (message "`%S' also matches CL structs and EIEIO classes" type))
+          ;; FIXME: While this wrinkle in the semantics can be occasionally
+          ;; problematic, this warning is more often annoying than helpful.
+          ;;(if (memq type '(vector array sequence))
+          ;;    (message "`%S' also matches CL structs and EIEIO classes"
+          ;;             type))
           (list cl--generic-typeof-generalizer)))
    (cl-call-next-method)))