emacs-devel
[Top][All Lists]
Advanced

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

Re: Getting the correct line/column numbers on byte compilation error/wa


From: Stefan Monnier
Subject: Re: Getting the correct line/column numbers on byte compilation error/warning messages
Date: Mon, 17 Jul 2017 15:42:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>     (defun bo-cons (kar kdr dest)
>       "Return a cons of KAR and KDR.  This cons will be DEST, with its
>     car and cdr overwritten."
>       (setcar dest kar)
>       (setcdr dest kdr)
>       (setq bo-fixed t)
>       dest)

Macro expansion uses macroexp--cons for a similar purpose.


        Stefan "who'd actually prefer a «real» solution rather than
                another hack, but beggars can't be choosers"




reply via email to

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