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

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

Re: Macro Expansion Inconsistency


From: Stefan Monnier
Subject: Re: Macro Expansion Inconsistency
Date: Wed, 17 Dec 2014 09:20:33 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> (defmacro bm-define-flag
>     (name index character foreground)
[...]
> (put 'bm-define-flag 'lisp-indent-function 'defun)

This is old-style.  The current style (since Emacs-22, IIRC) is:

   (defmacro bm-define-flag
       (name index character foreground)
     (declare (indent defun))
     ...)


-- Stefan




reply via email to

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