all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: master caabc5a4ab 5/5: * lisp/nxml/rng-util.el (rng-collapse-space): Simplify.
       [not found] ` <20220809195810.B8856C01680@vcs2.savannah.gnu.org>
@ 2022-08-09 20:01   ` Lars Ingebrigtsen
  2022-08-09 21:08     ` Stefan Kangas
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-09 20:01 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: emacs-devel

Stefan Kangas <stefankangas@gmail.com> writes:

> +  (string-trim
> +   (replace-regexp-in-string "[ \t\r\n]+" " " string t t)))

This is basically `string-clean-whitespace', I think, so this can be
simplified further.  😀




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

* Re: master caabc5a4ab 5/5: * lisp/nxml/rng-util.el (rng-collapse-space): Simplify.
  2022-08-09 20:01   ` master caabc5a4ab 5/5: * lisp/nxml/rng-util.el (rng-collapse-space): Simplify Lars Ingebrigtsen
@ 2022-08-09 21:08     ` Stefan Kangas
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Kangas @ 2022-08-09 21:08 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: emacs-devel

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Stefan Kangas <stefankangas@gmail.com> writes:
>
>> +  (string-trim
>> +   (replace-regexp-in-string "[ \t\r\n]+" " " string t t)))
>
> This is basically `string-clean-whitespace', I think, so this can be
> simplified further.  😀

Indeed, now done.  Thanks!



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

end of thread, other threads:[~2022-08-09 21:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <166007508993.24373.18256121088464354115@vcs2.savannah.gnu.org>
     [not found] ` <20220809195810.B8856C01680@vcs2.savannah.gnu.org>
2022-08-09 20:01   ` master caabc5a4ab 5/5: * lisp/nxml/rng-util.el (rng-collapse-space): Simplify Lars Ingebrigtsen
2022-08-09 21:08     ` Stefan Kangas

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.