diff lisp/ibuf-ext.el @ 43102:280c82e97c2a

(ibuffer-filter-format-alist, ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats): New variables.
author Colin Walters <walters@gnu.org>
date Mon, 04 Feb 2002 03:57:19 +0000
parents 2fa4141b1dee
children 3fce95e542b1
line wrap: on
line diff
--- a/lisp/ibuf-ext.el	Sun Feb 03 17:45:02 2002 +0000
+++ b/lisp/ibuf-ext.el	Mon Feb 04 03:57:19 2002 +0000
@@ -133,6 +133,20 @@
 the value of the qualifier, and returns non-nil if and only if the
 buffer should be displayed.")
 
+(defcustom ibuffer-filter-format-alist nil
+  "An alist which has special formats used when a filter is active.
+The contents of this variable should look like:
+ ((FILTER (FORMAT FORMAT ...)) (FILTER (FORMAT FORMAT ...)) ...)
+
+For example, suppose that when you add a filter for buffers whose
+major mode is `emacs-lisp-mode', you only want to see the mark and the
+name of the buffer.  You could accomplish that by adding:
+ (mode ((mark \" \" name)))
+to this variable.")
+
+(defvar ibuffer-cached-filter-formats nil)
+(defvar ibuffer-compiled-filter-formats nil)  
+
 (defcustom ibuffer-old-time 3
   "The number of days before a buffer is considered \"old\"."
   :type 'integer