branch: externals/bufferlo
commit e6e9b3a030da8c683fdf6d1e2024ef2f8c4dc518
Author: Florian Rommel <m...@florommel.de>
Commit: Florian Rommel <m...@florommel.de>
    Change default value for bufferlo-kill-modified-buffers-policy
---
 bufferlo.el | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/bufferlo.el b/bufferlo.el
index ef2468c5ac..488f30c309 100644
--- a/bufferlo.el
+++ b/bufferlo.el
@@ -126,14 +126,19 @@ This is a list of regular expressions that match buffer 
names."
   "If non-nil, confirm before killing local or orphan buffers."
   :type 'boolean)
 
-(defcustom bufferlo-kill-modified-buffers-policy 'kill-modified
+(defcustom bufferlo-kill-modified-buffers-policy
+  'retain-modified-kill-without-file-name
   "Bufferlo behavior when killing modified or process buffers.
 
+This policy applies to all bufferlo functions that entail killing buffers,
+e.g., `bufferlo-kill-buffers', `bufferlo-kill-orphan-buffers',
+`bufferlo-tab-close-kill-buffers', `bufferlo-delete-frame-kill-buffers'.
+
 This policy is useful when `shell-mode' or `eshell-mode' buffers
 are active in a bufferlo-controlled frame or tab.
 
 nil means default Emacs behavior which may prompt. This may have
-side effects when killing frames.
+side effects.
 
 \\='retain-modified means bufferlo will leave modified buffers as
 is.

Reply via email to