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: Heime
Subject: bug#65064: Macro definition using C-h f
Date: Sat, 05 Aug 2023 07:39:04 +0000

------- Original Message -------
On Saturday, August 5th, 2023 at 7:15 PM, Eli Zaretskii <eliz@gnu.org> wrote:


> 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.

Don't you need to show users that the argument is unused?






reply via email to

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