* How to find elisp info doc for a function?
@ 2016-02-16 14:16 Shiyao Ma
2016-02-16 14:50 ` Drew Adams
0 siblings, 1 reply; 6+ messages in thread
From: Shiyao Ma @ 2016-02-16 14:16 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
For example, how can I find the elisp info doc for `mapconcat' right
inside emacs?
--
吾輩は猫である。ホームーページはhttps://introo.me <http://introo.me>。
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: How to find elisp info doc for a function?
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
0 siblings, 1 reply; 6+ messages in thread
From: Drew Adams @ 2016-02-16 14:50 UTC (permalink / raw)
To: Shiyao Ma, help-gnu-emacs
> 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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to find elisp info doc for a function?
2016-02-16 14:50 ` Drew Adams
@ 2016-02-17 1:04 ` Emanuel Berg
2016-02-17 6:39 ` Shiyao Ma
0 siblings, 1 reply; 6+ messages in thread
From: Emanuel Berg @ 2016-02-17 1:04 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-02-29 15:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-02-17 6:39 ` Shiyao Ma
2016-02-29 8:23 ` Shiyao Ma
2016-02-29 15:28 ` Drew Adams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).