all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#20644: 25.0.50; Re-evaluating cl-defmethod form doesn't update the behavior
@ 2015-05-24 15:20 Dmitry Gutov
  2015-05-25 14:54 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Gutov @ 2015-05-24 15:20 UTC (permalink / raw)
  To: 20644

1. Evaluate:

(cl-defgeneric cl--generic-1 (x y))
(cl-defmethod cl--generic-1 ((x t) y) (cons x y))

2. (cl--generic-1 'a 'b) evaluates to '(a . b).

3. Change the defmethod form to return 1, press C-M-x.

4. (cl--generic-1 'a 'b) still evaluates to '(a . b).





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#20644: 25.0.50; Re-evaluating cl-defmethod form doesn't update the behavior
  2015-05-24 15:20 bug#20644: 25.0.50; Re-evaluating cl-defmethod form doesn't update the behavior Dmitry Gutov
@ 2015-05-25 14:54 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2015-05-25 14:54 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 20644-done

> (cl-defgeneric cl--generic-1 (x y))
> (cl-defmethod cl--generic-1 ((x t) y) (cons x y))
> 2. (cl--generic-1 'a 'b) evaluates to '(a . b).
> 3. Change the defmethod form to return 1, press C-M-x.
> 4. (cl--generic-1 'a 'b) still evaluates to '(a . b).

Thanks.  Should be fixed now.


        Stefan





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-25 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-24 15:20 bug#20644: 25.0.50; Re-evaluating cl-defmethod form doesn't update the behavior Dmitry Gutov
2015-05-25 14:54 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.