On Wed, Dec 30, 2020 at 03:56:48AM -0800, Stefan Kangas wrote: > 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 > 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. Oh, thanks. Seems my bleeding edge lags a bit :) Cheers - t