unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Interactive function
@ 2022-10-10 13:24 uzibalqa
  2022-10-10 13:43 ` thibaut.verron
  0 siblings, 1 reply; 8+ messages in thread
From: uzibalqa @ 2022-10-10 13:24 UTC (permalink / raw)
  To: uzibalqa via Users list for the GNU Emacs text editor

I have the following function that prints some information about Emacs Init.
The messages for the user are included in the function documentation part.
Thusly, I would like that when the user calls "M-x emacs-init", I show the
docstring.  How can I implement such feature in the body of the function to
call the docstring? 


(defun emacs-init ()

  "TODO.

Emacs packages write their caches, histories, etc. into ~/.emacs.d/.

See directory '.emacs.d' in directory

${HOME}/xepty/"

  (interactive)

  (message "See C-h f emacs-init") )







^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-10-11 15:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-10 13:24 Interactive function uzibalqa
2022-10-10 13:43 ` thibaut.verron
2022-10-10 14:23   ` uzibalqa
2022-10-10 14:46     ` Thibaut Verron
2022-10-10 15:46       ` uzibalqa
2022-10-10 23:54       ` Emanuel Berg
2022-10-11 15:01         ` Michael Heerdegen
2022-10-10 23:42   ` Emanuel Berg

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