[Top][All Lists]

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

bug#10987: ibuffer: remove "No Buffers" error

From: Christopher Schmidt
Subject: bug#10987: ibuffer: remove "No Buffers" error
Date: Sun, 11 Mar 2012 19:34:24 +0100

Chong Yidong <address@hidden> writes:

> Thanks.  I committed your patch to trunk.

Thank you very much.  I just skimmed through ibuffer.el and found the
same error in ibuffer-redisplay.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4710434..5b11660 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-11  Christopher Schmidt  <address@hidden>
+       * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
+       (Bug#10987).
 2012-03-11  Michael Albinus  <address@hidden>
        * autorevert.el (auto-revert-handler): Ensure, that
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
index 7db4cc4..7e5a4aa 100644
--- a/lisp/ibuffer.el
+++ b/lisp/ibuffer.el
@@ -2173,11 +2173,10 @@ If optional arg SILENT is non-nil, do not display 
progress messages."
                   (cadr bufs))
                 (ibuffer-current-buffers-with-marks bufs)
-    (when (null blist)
-      (if (and (featurep 'ibuf-ext)
+    (when (and (null blist)
+              (featurep 'ibuf-ext)
-         (message "No buffers! (note: filtering in effect)")
-       (error "No buffers!")))
+      (message "No buffers! (note: filtering in effect)"))
     (unless silent
       (message "Updating buffer list..."))
     (ibuffer-redisplay-engine blist arg)

reply via email to

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