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: Rafael D Sorkin
Subject: bug#27016: possible bug in `defsetf'
Date: Fri, 26 May 2017 01:05:17 -0400

 > I would rather try something like
 > 
 > #+begin_src emacs-lisp
 > (unless t
 >   (eval '(progn (defalias 'foobar 'cons)
 >                 (defsetf foobar setcar))))
 > #+end_src
 > 
 > to avoid the eager macro expansion unless the code is actually run.

That looks like it would have to work.  I will keep it mind in
case of future need.  Thanks.

~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
 Rafael Sorkin
 Perimeter Institute for Theoretical Physics
 31 Caroline Street North
 Waterloo, ON  N2L 2Y5
 Canada
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-





reply via email to

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