* lisp/emacs-lisp/eieio.el (defmethod): Fix quoting of code.

Fixes: debbugs:8677
This commit is contained in:
Stefan Monnier 2011-05-16 16:49:28 -03:00
parent 3bfacb2fee
commit 31d55be985
2 changed files with 5 additions and 1 deletions

View file

@ -1308,7 +1308,7 @@ Summary:
(defgeneric ,method ,args
,(or (documentation code)
(format "Generically created method `%s'." method)))
(eieio--defmethod ',method ',key ',class ',code))))
(eieio--defmethod ',method ',key ',class #',code))))
(defun eieio--defmethod (method kind argclass code)
"Work part of the `defmethod' macro defining METHOD with ARGS."