changeset 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 ecebf8a90c3a
children 7f95aeaa47b3
files lisp/ibuf-ext.el
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
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