1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

* 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

@ -1,3 +1,7 @@
2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
2011-05-16 Kevin Ryde <user42@zip.com.au>
* info-look.el (makefile-automake-mode): New setups, looking in

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."