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

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

Re: use-package


From: Stefan Monnier
Subject: Re: use-package
Date: Sat, 14 May 2016 23:22:57 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> The doc, though, yes, I think that would be good to update, to at least
> say "you don't have to have a lighter" and "here are some reasons why
> you might not want one".

On a related note: the INIT-VALUE LIGHTER KEYMAP optional args should
really be deprecated in favor of the use of keyword arguments.
Also, we should emphasize that in 99.9% of the cases, :init-value
and :keymap args should not be used.

Of course, we have the problem currently that if no keyword arg is
provided, we can't easily distinguish the BODY from the (potential)
INIT-VALUE, LIGHTER, and KEYMAP args.


        Stefan



reply via email to

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