]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/midnight.el (clean-buffer-list-kill-regexps)
authorSam Steingold <sds@gnu.org>
Tue, 24 Sep 2013 17:34:51 +0000 (13:34 -0400)
committerSam Steingold <sds@gnu.org>
Tue, 24 Sep 2013 17:34:51 +0000 (13:34 -0400)
(clean-buffer-list-kill-buffer-names): Update for the new Man
buffer naming which includes the object name.

lisp/ChangeLog
lisp/midnight.el

index 1a9f6984d914543b64640e38ea66e7321411f890..ad9b775142e1a91bc04fe2224fc62ca56b67e0e5 100644 (file)
@@ -1,3 +1,9 @@
+2013-09-24  Sam Steingold  <sds@gnu.org>
+
+       * midnight.el (clean-buffer-list-kill-regexps)
+       (clean-buffer-list-kill-buffer-names): Update for the new Man
+       buffer naming which includes the object name.
+
 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * eshell/esh-cmd.el (eshell--sep-terms): New var.
index f207d438e5b89d1b12357fceabded4406b5c3ff0..25de2717b47f9a522039729d638cdaba976eedc2 100644 (file)
@@ -87,7 +87,7 @@ displayed more than this many seconds ago."
   :type 'integer
   :group 'midnight)
 
-(defcustom clean-buffer-list-kill-regexps nil
+(defcustom clean-buffer-list-kill-regexps '("^\\*Man ")
   "List of regexps saying which buffers will be killed at midnight.
 If buffer name matches a regexp in the list and the buffer was not displayed
 in the last `clean-buffer-list-delay-special' seconds, it is killed by
@@ -101,7 +101,7 @@ See also `clean-buffer-list-kill-buffer-names',
   :group 'midnight)
 
 (defcustom clean-buffer-list-kill-buffer-names
-    '("*Help*" "*Apropos*" "*Man " "*Buffer List*" "*Compile-Log*" "*info*"
+    '("*Help*" "*Apropos*" "*Buffer List*" "*Compile-Log*" "*info*"
       "*vc*" "*vc-diff*" "*diff*")
   "List of strings saying which buffers will be killed at midnight.
 Buffers with names in this list, which were not displayed in the last