[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding document strings to a `use-package' declaration
From: |
Andy Moreton |
Subject: |
Re: Adding document strings to a `use-package' declaration |
Date: |
Mon, 20 Feb 2017 13:03:40 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (windows-nt) |
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