comparison 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
comparison
equal deleted inserted replaced
43101:ecebf8a90c3a 43102:280c82e97c2a
130 130
131 SYMBOL is the symbolic name of the filter. DESCRIPTION is used when 131 SYMBOL is the symbolic name of the filter. DESCRIPTION is used when
132 displaying information to the user. FUNCTION is given a buffer and 132 displaying information to the user. FUNCTION is given a buffer and
133 the value of the qualifier, and returns non-nil if and only if the 133 the value of the qualifier, and returns non-nil if and only if the
134 buffer should be displayed.") 134 buffer should be displayed.")
135
136 (defcustom ibuffer-filter-format-alist nil
137 "An alist which has special formats used when a filter is active.
138 The contents of this variable should look like:
139 ((FILTER (FORMAT FORMAT ...)) (FILTER (FORMAT FORMAT ...)) ...)
140
141 For example, suppose that when you add a filter for buffers whose
142 major mode is `emacs-lisp-mode', you only want to see the mark and the
143 name of the buffer. You could accomplish that by adding:
144 (mode ((mark \" \" name)))
145 to this variable.")
146
147 (defvar ibuffer-cached-filter-formats nil)
148 (defvar ibuffer-compiled-filter-formats nil)
135 149
136 (defcustom ibuffer-old-time 3 150 (defcustom ibuffer-old-time 3
137 "The number of days before a buffer is considered \"old\"." 151 "The number of days before a buffer is considered \"old\"."
138 :type 'integer 152 :type 'integer
139 :group 'ibuffer) 153 :group 'ibuffer)