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: Stefan Kangas
Subject: bug#57936: 29.0.50; Make info treat "\n" in node names as "\s"
Date: Thu, 13 Oct 2022 16:03:48 +0200

Lars Ingebrigtsen <larsi@gnus.org> writes:

> 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.

Thanks, pushed with that change.





reply via email to

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