comparison lisp/gutter-items.el @ 1362:cfe4bcb9bdd4

[xemacs-hg @ 2003-03-18 06:58:19 by stephent] wid-edit.el cleanup <878yvdi2rz.fsf@tleepslib.sk.tsukuba.ac.jp> buffers tab control doc improvements <87bs09i3w5.fsf_-_@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Tue, 18 Mar 2003 06:58:24 +0000
parents 3508e2f71814
children 16b17fd1dc93
comparison
equal deleted inserted replaced
1361:ffdb1a771055 1362:cfe4bcb9bdd4
108 108
109 (make-obsolete-variable buffers-tab-selection-function 109 (make-obsolete-variable buffers-tab-selection-function
110 "Set `buffers-tab-filter-functions' instead.") 110 "Set `buffers-tab-filter-functions' instead.")
111 111
112 (defcustom buffers-tab-filter-functions (list 'select-buffers-tab-buffers-by-mode) 112 (defcustom buffers-tab-filter-functions (list 'select-buffers-tab-buffers-by-mode)
113 "*If non-nil, a list of functions specifying the buffers to include 113 "*A list of functions specifying buffers to display in the buffers tab.
114 in the buffers tab, depending on the context. 114
115 Each function in the list is passed two buffers, the buffer to 115 If nil, all buffers are kept, up to `buffers-tab-max-size', in usual order.
116 potentially select and the context buffer, and should return non-nil 116 Otherwise, each function in the list must take arguments (BUF1 BUF2).
117 if the first buffer should be selected. The default value groups 117 BUF1 is the candidate, and BUF2 is the current buffer (first in the buffers
118 buffers by major mode and by `buffers-tab-grouping-regexp'." 118 list). The function should return non-nil if BUF1 should be added to the
119 buffers tab. BUF1 will be omitted if any of the functions returns nil.
120
121 Defaults to `select-buffers-tab-buffers-by-mode', which adds BUF1 if BUF1 and
122 BUF2 have the same major mode, or both match `buffers-tab-grouping-regexp'."
119 123
120 :type '(repeat function) 124 :type '(repeat function)
121 :group 'buffers-tab) 125 :group 'buffers-tab)
122 126
123 (defcustom buffers-tab-sort-function nil 127 (defcustom buffers-tab-sort-function nil