[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why having string-chop-newline
From: |
Stefan Kangas |
Subject: |
Re: Why having string-chop-newline |
Date: |
Wed, 30 Dec 2020 03:56:48 -0800 |
<tomas@tuxteam.de> writes:
> On Wed, Dec 30, 2020 at 12:06:39PM +0300, Evgeny Zajcev wrote:
>> Why is `string-chop-newline' needed?
>
> FWIW, "my" Emacs has no function named like that. Perhaps you
> should give us a hint towards where you found it, to help set
> the context...
See this commit on master:
commit f329a3180ead740bb85e1edfc48ae360a56f7ffd
Author: Lars Ingebrigtsen <larsi@gnus.org>
Date: Mon Dec 21 22:05:37 2020 +0100
Add string-chop-newline
* doc/lispref/strings.texi (Creating Strings): Document it.
* lisp/emacs-lisp/subr-x.el (string-chop-newline): Add new function.