From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: How to find elisp info doc for a function?
Date: Wed, 17 Feb 2016 02:04:33 +0100 [thread overview]
Message-ID: <87bn7gtae6.fsf@debian.uxu> (raw)
In-Reply-To: cd86128b-123d-47a4-9e81-35ec7fc40bc6@default
Drew Adams <drew.adams@oracle.com> writes:
>> For example, how can I find the elisp info doc for
>> `mapconcat' right inside emacs?
>
> Use command `info-lookup-symbol', bound by default
> to `C-h S'.
>
> But first, put the cursor in a buffer that is in
> Emacs-Lisp mode.
Either do that, or
C-u C-h S emacs-lisp-mode RET mapconcat RET
If you (the OP) do this several times a day, you can
do something like this and bind it to a shortcut:
(defun info-lookup-elisp-symbol (symbol)
(interactive "Ssymbol: ")
(info-lookup-symbol symbol 'emacs-lisp-mode))
It can be polished even further with a default to the
symbol at point, however it is only educative to have
to spell out the whole function name when you look
it up.
--
underground experts united
http://user.it.uu.se/~embe8573
next prev parent reply other threads:[~2016-02-17 1:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-16 14:16 How to find elisp info doc for a function? Shiyao Ma
2016-02-16 14:50 ` Drew Adams
2016-02-17 1:04 ` Emanuel Berg [this message]
2016-02-17 6:39 ` Shiyao Ma
2016-02-29 8:23 ` Shiyao Ma
2016-02-29 15:28 ` Drew Adams
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=87bn7gtae6.fsf@debian.uxu \
--to=embe8573@student.uu.se \
--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.