From: Stefan Monnier Date: Wed, 4 Nov 2015 14:42:20 +0000 (-0500) Subject: * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests X-Git-Tag: emacs-25.0.90~920 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=54e2ed97bf904eda2ee5ae9b7822288e10b3abc5;p=emacs.git * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests (eieio--generic-static-object-generalizer): Fix typo. * test/automated/eieio-tests.el: Byte-compile it again. It looks like the underlying cause of bug#17852 was fixed in the mean time. --- diff --git a/lisp/emacs-lisp/eieio-compat.el b/lisp/emacs-lisp/eieio-compat.el index 638c475ef2b..06e65b9df80 100644 --- a/lisp/emacs-lisp/eieio-compat.el +++ b/lisp/emacs-lisp/eieio-compat.el @@ -143,7 +143,7 @@ Summary: ;; Give it a slightly higher priority than `class' so that the ;; interleaved list comes before the class's non-interleaved list. 51 #'cl--generic-struct-tag - (lambda (tag _targets) + (lambda (tag &rest _) (and (symbolp tag) (boundp tag) (setq tag (symbol-value tag)) (eieio--class-p tag) (let ((superclasses (eieio--class-precedence-list tag)) diff --git a/test/automated/eieio-tests.el b/test/automated/eieio-tests.el index 5709a1bfeb2..915532b299c 100644 --- a/test/automated/eieio-tests.el +++ b/test/automated/eieio-tests.el @@ -898,7 +898,3 @@ Subclasses to override slot attributes.") (provide 'eieio-tests) ;;; eieio-tests.el ends here - -;; Local Variables: -;; no-byte-compile: t -;; End: