diff options
| author | Colin Walters | 2002-02-12 04:50:04 +0000 |
|---|---|---|
| committer | Colin Walters | 2002-02-12 04:50:04 +0000 |
| commit | 80a06d647faa1dab77f77997a800f18fe5351ded (patch) | |
| tree | e5285d9616c8df6076f98321259ece2a10deb620 | |
| parent | 53a2f6e13958e335fe07a75693e942cf5c47ea22 (diff) | |
| download | emacs-80a06d647faa1dab77f77997a800f18fe5351ded.tar.gz emacs-80a06d647faa1dab77f77997a800f18fe5351ded.zip | |
(ibuffer-switch-format): Supply required argument for
`ibuffer-current-formats'.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/ibuffer.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e5286147be7..03a23d7bdc2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-02-11 Colin Walters <walters@verbum.org> | ||
| 2 | |||
| 3 | * ibuffer.el (ibuffer-switch-format): Supply required argument for | ||
| 4 | `ibuffer-current-formats'. | ||
| 5 | |||
| 1 | 2002-02-12 Miles Bader <miles@gnu.org> | 6 | 2002-02-12 Miles Bader <miles@gnu.org> |
| 2 | 7 | ||
| 3 | * faces.el (mode-line-inactive): Add dark-background variant. | 8 | * faces.el (mode-line-inactive): Add dark-background variant. |
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 8ca3d9d1933..e3ae9dcc5c4 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -1694,7 +1694,7 @@ If optional argument INCLUDE-LINES is non-nil, return a list like | |||
| 1694 | (unless (consp ibuffer-formats) | 1694 | (unless (consp ibuffer-formats) |
| 1695 | (error "Ibuffer error: No formats!")) | 1695 | (error "Ibuffer error: No formats!")) |
| 1696 | (setq ibuffer-current-format | 1696 | (setq ibuffer-current-format |
| 1697 | (if (>= ibuffer-current-format (1- (length (ibuffer-current-formats)))) | 1697 | (if (>= ibuffer-current-format (1- (length (ibuffer-current-formats nil)))) |
| 1698 | 0 | 1698 | 0 |
| 1699 | (1+ ibuffer-current-format))) | 1699 | (1+ ibuffer-current-format))) |
| 1700 | (ibuffer-update-format) | 1700 | (ibuffer-update-format) |