* ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
authorChristopher Schmidt <christopher@ch.ristopher.com>
Mon, 12 Mar 2012 02:41:22 +0000 (10:41 +0800)
committerChong Yidong <cyd@gnu.org>
Mon, 12 Mar 2012 02:41:22 +0000 (10:41 +0800)
lisp/ChangeLog
lisp/ibuffer.el

index c11c60b..4a3e895 100644 (file)
@@ -1,3 +1,7 @@
+2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
+
+       * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
+
 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
 
        * autorevert.el (auto-revert-handler): Ensure, that
index 7db4cc4..536992f 100644 (file)
@@ -2173,11 +2173,10 @@ If optional arg SILENT is non-nil, do not display progress messages."
                   (cadr bufs))
                 (ibuffer-current-buffers-with-marks bufs)
                 ibuffer-display-maybe-show-predicates)))
-    (when (null blist)
-      (if (and (featurep 'ibuf-ext)
-              ibuffer-filtering-qualifiers)
-         (message "No buffers! (note: filtering in effect)")
-       (error "No buffers!")))
+    (and (null blist)
+        (featurep 'ibuf-ext)
+        ibuffer-filtering-qualifiers
+        (message "No buffers! (note: filtering in effect)"))
     (unless silent
       (message "Updating buffer list..."))
     (ibuffer-redisplay-engine blist arg)