--- Begin Message ---
Subject: |
25.0.50; Re-evaluating cl-defmethod form doesn't update the behavior |
Date: |
Sun, 24 May 2015 18:20:05 +0300 |
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).
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#20644: 25.0.50; Re-evaluating cl-defmethod form doesn't update the behavior |
Date: |
Mon, 25 May 2015 10:54:29 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> (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
--- End Message ---