bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57936: 29.0.50; Make info treat "\n" in node names as "\s"


From: Lars Ingebrigtsen
Subject: bug#57936: 29.0.50; Make info treat "\n" in node names as "\s"
Date: Mon, 19 Sep 2022 18:41:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Kangas <stefankangas@gmail.com> writes:

> So I think it would be nice if `info' would just treat the node name
> "(elisp) Interactive\nExamples" as "(elisp) Interactive Examples".  See
> the attached patch.
>
> Thoughts?

Makes sense to me, but:

> +  (setq file-or-node
> +        (replace-regexp-in-string "\n" " " file-or-node))

`string-replace', I think.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]