changeset 43249:783a6eac348c

(ibuffer-switch-format): Supply required argument for `ibuffer-current-formats'.
author Colin Walters <walters@gnu.org>
date Tue, 12 Feb 2002 04:49:32 +0000
parents 9e2bfc2d4d23
children d8cd3e5c240e
files lisp/ibuffer.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ibuffer.el	Tue Feb 12 02:59:39 2002 +0000
+++ b/lisp/ibuffer.el	Tue Feb 12 04:49:32 2002 +0000
@@ -1694,7 +1694,7 @@
   (unless (consp ibuffer-formats)
     (error "Ibuffer error: No formats!"))
   (setq ibuffer-current-format
-	(if (>= ibuffer-current-format (1- (length (ibuffer-current-formats))))
+	(if (>= ibuffer-current-format (1- (length (ibuffer-current-formats nil))))
 	    0
 	  (1+ ibuffer-current-format)))
   (ibuffer-update-format)