[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: insert string at point with emacs-version
From: |
tomas |
Subject: |
Re: insert string at point with emacs-version |
Date: |
Tue, 1 Feb 2022 18:21:31 +0100 |
On Tue, Feb 01, 2022 at 02:24:35PM +0000, goncholden via Users list for the GNU
Emacs text editor wrote:
> I am looking up documentation for emacs-version. But cannot understand the
> meaning of
>
> If optional argument HERE is non-nil, insert string at point.
>
> --------
> Doc:
>
> (emacs-version &optional HERE)
>
> Probably introduced at or before Emacs version 19.20.
>
> Return string describing the version of Emacs that is running.
> If optional argument HERE is non-nil, insert string at point.
When in a buffer (whose content is not very important to you) try:
M-x eval-expression
Then enter
(emacs-version 'bluntschli)
and see what happens :)
Of course, any value besides 'bluntschli will do, as long as it is not
nil.
Of course, since it doesn't make a difference, you'll use t to not
coufuse your readers.
Cheers
--
tomás
signature.asc
Description: PGP signature