Subject: Re: bug#77967: [PATCH] Fallback `eww-switch-to-buffer' to `eww'

From: Eli Zaretskii <[email-masked]>
Date: Sat, 10 May 2025 12:47:49 +0300

> From: Manuel Giraud <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Sun, 27 Apr 2025 13:08:57 +0200
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> >> Cc: Lars Magne Ingebrigtsen <[email-masked]>
> >> From: Manuel Giraud <[email-masked]>
> >> 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.

Thanks, installed on the master branch, and closing the bug.