[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#77967: [PATCH] Fallback `eww-switch-to-buffer' to `eww'
From: |
Manuel Giraud |
Subject: |
bug#77967: [PATCH] Fallback `eww-switch-to-buffer' to `eww' |
Date: |
Sun, 27 Apr 2025 13:08:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> Cc: Lars Magne Ingebrigtsen <larsi@gnus.org>
>> From: Manuel Giraud <manuel@ledu-giraud.fr>
>> Date: Mon, 21 Apr 2025 19:43:47 +0200
>>
>> The following patch calls `eww' interactively from
>> `eww-switch-to-buffer' when there is no EWW buffers. Then, one can set
>> a global shortcut on `eww-switch-to-buffer' and always be able to launch
>> EWW.
>
> Thanks.
>
>> (defun eww-switch-to-buffer ()
>> - "Prompt for an EWW buffer to display in the selected window."
>> + "Prompt for an EWW buffer to display in the selected window. If no such
>> +buffer exist, fallback to calling `eww'."
>
> The first line of a doc string should be a single complete sentence.
>
> Doesn't this change warrant a NEWS entry, and a suitable change to the
> EWW manual?
Thanks. Here is a new patch. While here, I also modified
`eww-list-buffers' to not pop to *eww-buffers* when there is no such
buffer.
0001-Fallback-eww-switch-to-buffer-to-eww.patch
Description: Text Data
--
Manuel Giraud