all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Narendra Joshi <narendraj9@gmail.com>
To: Gnu Emacs Help <help-gnu-emacs@gnu.org>
Subject: Adding document strings to a `use-package' declaration
Date: Sat, 18 Feb 2017 17:00:03 +0530	[thread overview]
Message-ID: <87lgt3enyc.fsf@gmail.com> (raw)


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

-- 
Narendra Joshi



             reply	other threads:[~2017-02-18 11:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-18 11:30 Narendra Joshi [this message]
2017-02-20 13:03 ` Adding document strings to a `use-package' declaration Andy Moreton
2017-02-20 14:01   ` Narendra Joshi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lgt3enyc.fsf@gmail.com \
    --to=narendraj9@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.