Subject: bug#38384: closed (Re: bug#38384: (next|previous)-buffer silent about not switching)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 26 Nov 2019 14:07:01 +0000

Your bug report

#38384: (next|previous)-buffer silent about not switching

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
38384: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38384
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#38384: (next|previous)-buffer silent about not switching
From: Juanma Barranquero <[email-masked]>
To: martin rudalics <[email-masked]>
Cc: [email-masked]
Date: Tue, 26 Nov 2019 15:05:45 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Committed as e495dbea7035bcb1f26ed82f0d56a5abc90974fa

Subject: (next|previous)-buffer silent about not switching
From: Juanma Barranquero <[email-masked]>
To: Bug-Gnu-Emacs <[email-masked]>
Date: Tue, 26 Nov 2019 13:08:12 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Package: emacs
Severity: minor
Tags: patch
X-Debbugs-Cc: [email-masked]

In some circumstances, next-buffer and previous-buffer do not have any
buffer to switch to, and in that case they silently do nothing.  (Strictly
speaking, they call switch-to-(next|prev)-buffer, which do nothing and
return nil).

I think they should throw a user-error, to inform the user about the
situation.