Function: ibuffer-switch-format
ibuffer-switch-format is an interactive and byte-compiled function
defined in ibuffer.el.gz.
Signature
(ibuffer-switch-format)
Documentation
Switch the current display format.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/ibuffer.el.gz
(defun ibuffer-switch-format ()
"Switch the current display format."
(interactive)
(ibuffer-assert-ibuffer-mode)
(unless (consp ibuffer-formats)
(error "Ibuffer error: No formats!"))
(setq ibuffer-current-format
(if (>= ibuffer-current-format (1- (length (ibuffer-current-formats nil))))
0
(1+ ibuffer-current-format)))
(ibuffer-update-format)
(ibuffer-redisplay t))