all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: goncholden via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Cc: goncholden <goncholden@protonmail.com>
Subject: Re: insert string at point with emacs-version
Date: Tue, 01 Feb 2022 16:53:45 +0100	[thread overview]
Message-ID: <87leyubn1y.fsf@gmail.com> (raw)
In-Reply-To: <XJPUbUoI1rVdbtLHPLRtaqRXuFQ_yZi_hP0qvjJusuR75wlLv-ES757tIT0wZHn2UovhItgJgy-q9__nOn82zgZGwUgTeiYqySMU-ECsYP4=@protonmail.com> (goncholden via Users list for the's message of "Tue, 01 Feb 2022 14:24:35 +0000")

>>>>> On Tue, 01 Feb 2022 14:24:35 +0000, goncholden via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> said:

    goncholden> I am looking up documentation for emacs-version. But cannot understand the meaning of
    goncholden> If optional argument HERE is non-nil, insert string at point.

`emacs-version' is a function that can be called with 0 or 1
argument. When calling it with 1 argument, that argument is referred
to as "HERE" in the docstring, so in

    (emacs-version t)

"HERE" equals t (and this will insert the emacs version string).

Robert
-- 



  parent reply	other threads:[~2022-02-01 15:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-01 14:24 insert string at point with emacs-version goncholden via Users list for the GNU Emacs text editor
2022-02-01 15:51 ` Jean-Christophe Helary
2022-02-01 15:53 ` Robert Pluim [this message]
2022-02-01 16:08 ` H. Dieter Wilhelm
2022-02-01 16:33 ` inasprecali
2022-02-01 17:44   ` goncholden
2022-02-01 17:21 ` tomas
2022-02-01 23:15   ` Emanuel Berg via Users list for the GNU Emacs text editor
  -- strict thread matches above, loose matches on Subject: below --
2022-02-01 18:23 goncholden
2022-02-01 18:57 goncholden

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=87leyubn1y.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=goncholden@protonmail.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.