]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers): Remove warning
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 9 Sep 2015 17:18:11 +0000 (13:18 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 9 Sep 2015 17:18:11 +0000 (13:18 -0400)
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)))