bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27016: possible bug in `defsetf'


From: Stefan Monnier
Subject: bug#27016: possible bug in `defsetf'
Date: Tue, 11 Jul 2017 12:21:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> -           (gf (function-get head 'gv-expander 'autoload)))
> +           (gf (or (alist-get head (alist-get :gv-expands
> +                                              (bound-and-true-p
> +                                               
> byte-compile-macro-environment)))
> +                   (function-get head 'gv-expander 'autoload))))

I think a better avenue would be to change function-put and function-get
to DTRT.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]