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

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

bug#65064: Macro definition using C-h f


From: Eli Zaretskii
Subject: bug#65064: Macro definition using C-h f
Date: Sat, 05 Aug 2023 10:15:59 +0300

tags 65064 notabug
thanks

> Date: Sat, 05 Aug 2023 06:42:57 +0000
> From:  Heime via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> Have done the following macro, but calling `C-h f tak` shows the definition
> as 
> 
> (tak &rest ARGS)
> 
> rather than
> 
> (tak &rest _ARGS)
> 
> (defmacro tak (&rest _args)
>   "Performs no action, no matter how many arguments are passed."
> 
>   nil)

This is a feature: the leading '_' is an indication that the argument
is unused, but the argument's name is 'args', without the underscore.

This is not a bug.





reply via email to

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