diff options
author | Sam Steingold <sds@gnu.org> | 2013-09-24 13:34:51 -0400 |
---|---|---|
committer | Sam Steingold <sds@gnu.org> | 2013-09-24 13:34:51 -0400 |
commit | 0c1738785d65e807e9500f6a1200baba66edc80c (patch) | |
tree | a2e8948cdb688423e7a94e32e28576594206e03b | |
parent | cf647d9300961108f50c6ae47b234d0e9afb89b4 (diff) |
* 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.
-rw-r--r-- | lisp/ChangeLog | 6 | ||||
-rw-r--r-- | lisp/midnight.el | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1a9f6984d9..ad9b775142 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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. diff --git a/lisp/midnight.el b/lisp/midnight.el index f207d438e5..25de2717b4 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 |