[Top][All Lists]

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

Adding document strings to a `use-package' declaration

From: Narendra Joshi
Subject: Adding document strings to a `use-package' declaration
Date: Sat, 18 Feb 2017 17:00:03 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)


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

Narendra Joshi

reply via email to

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