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

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

Re: Adding document strings to a `use-package' declaration


From: Narendra Joshi
Subject: Re: Adding document strings to a `use-package' declaration
Date: Mon, 20 Feb 2017 19:31:52 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Andy Moreton <address@hidden> writes:

> On Sat 18 Feb 2017, Narendra Joshi wrote:
>
>> Hi,
>>
>> Is it possible to add an extra keyword to a `use-package' declaration?
>>
>> For example, I would like to a small comment to a use-package
>> declaration. I can add it as a comment above the declaration. I find
>> adding a extra keyword, say :meta or :doc, cleaner.
>>
>> ,----
>> | (use-package which-key
>> |   :doc "Get quick Emacs key binding suggestions."
>> |   :ensure t
>> |   :init
>> |   (setq which-key-max-description-length nil)
>> |   (which-key-mode 1))
>> `----
>
> See README.md from https://github.com/jwiegley/use-package for details of how 
> to do this.
>
>     AndyM
Thanks for pointing it out. I shouldn't have missed that section. :)

-- 
Narendra Joshi



reply via email to

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