From 0c1738785d65e807e9500f6a1200baba66edc80c Mon Sep 17 00:00:00 2001 From: Sam Steingold Date: Tue, 24 Sep 2013 13:34:51 -0400 Subject: * lisp/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. --- lisp/midnight.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/midnight.el') diff --git a/lisp/midnight.el b/lisp/midnight.el index f207d438e5b..25de2717b47 100644 --- a/lisp/midnight.el +++ b/lisp/midnight.el @@ -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 -- cgit v1.2.3