aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-09-28 16:08:58 +0000
committerRichard M. Stallman1998-09-28 16:08:58 +0000
commit1e5a443809ef0eea5cd448a98a83932501499b02 (patch)
tree3883ddd067cf91ea90ac1ad18c30afc6dd0d1f0a
parent51d628c817d52ae1c71dd595bd9084fdf4c750a1 (diff)
downloademacs-1e5a443809ef0eea5cd448a98a83932501499b02.tar.gz
emacs-1e5a443809ef0eea5cd448a98a83932501499b02.zip
(clean-buffer-list-kill-regexps): Improve custom type.
(clean-buffer-list-kill-buffer-names): Likewise. (clean-buffer-list-kill-never-buffer-names): Likewise. (clean-buffer-list-kill-never-regexps): Likewise.
-rw-r--r--lisp/midnight.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/midnight.el b/lisp/midnight.el
index 8747aeadd36..28108eebc28 100644
--- a/lisp/midnight.el
+++ b/lisp/midnight.el
@@ -109,7 +109,7 @@ the number of seconds to use instead of `clean-buffer-list-delay-special'.
109See also `clean-buffer-list-kill-buffer-names', 109See also `clean-buffer-list-kill-buffer-names',
110`clean-buffer-list-kill-never-regexps' and 110`clean-buffer-list-kill-never-regexps' and
111`clean-buffer-list-kill-never-buffer-names'." 111`clean-buffer-list-kill-never-buffer-names'."
112 :type '(repeat regexp) 112 :type '(repeat (regexp :tag "Regexp matching Buffer Name"))
113 :group 'midnight) 113 :group 'midnight)
114 114
115(defcustom clean-buffer-list-kill-buffer-names 115(defcustom clean-buffer-list-kill-buffer-names
@@ -124,7 +124,7 @@ the number of seconds to use instead of `clean-buffer-list-delay-special'.
124See also `clean-buffer-list-kill-regexps', 124See also `clean-buffer-list-kill-regexps',
125`clean-buffer-list-kill-never-regexps' and 125`clean-buffer-list-kill-never-regexps' and
126`clean-buffer-list-kill-never-buffer-names'." 126`clean-buffer-list-kill-never-buffer-names'."
127 :type '(repeat string) 127 :type '(repeat (string :tag "Buffer Name"))
128 :group 'midnight) 128 :group 'midnight)
129 129
130(defcustom clean-buffer-list-kill-never-buffer-names 130(defcustom clean-buffer-list-kill-never-buffer-names
@@ -134,7 +134,7 @@ See also `clean-buffer-list-kill-never-regexps'.
134Note that this does override `clean-buffer-list-kill-regexps' and 134Note that this does override `clean-buffer-list-kill-regexps' and
135`clean-buffer-list-kill-buffer-names' so a buffer matching any of these 135`clean-buffer-list-kill-buffer-names' so a buffer matching any of these
136two lists will NOT be killed if it is also present in this list." 136two lists will NOT be killed if it is also present in this list."
137 :type '(repeat string) 137 :type '(repeat (string :tag "Buffer Name"))
138 :group 'midnight) 138 :group 'midnight)
139 139
140 140
@@ -145,7 +145,7 @@ Killing is done by `clean-buffer-list'.
145Note that this does override `clean-buffer-list-kill-regexps' and 145Note that this does override `clean-buffer-list-kill-regexps' and
146`clean-buffer-list-kill-buffer-names' so a buffer matching any of these 146`clean-buffer-list-kill-buffer-names' so a buffer matching any of these
147two lists will NOT be killed if it also matches anything in this list." 147two lists will NOT be killed if it also matches anything in this list."
148 :type '(repeat regexp) 148 :type '(repeat (regexp :tag "Regexp matching Buffer Name"))
149 :group 'midnight) 149 :group 'midnight)
150 150
151(defun midnight-find (el ls test &optional key) 151(defun midnight-find (el ls test &optional key)