diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-09-18 16:48:39 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-09-18 16:48:39 +0200 |
commit | 40b401253e524cf66d1c01d1260999226f00caf0 (patch) | |
tree | 8b36b9fec71b3afad2b9cdb8f73632f0f8b99089 | |
parent | 6eca75084c5af11930cc933e192eeb8089f20391 (diff) |
Don't ask twice when killing buffers (#1869)
-rw-r--r-- | helm-buffers.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/helm-buffers.el b/helm-buffers.el index 51c35ccc..b6d89a84 100644 --- a/helm-buffers.el +++ b/helm-buffers.el @@ -799,10 +799,7 @@ If REGEXP-FLAG is given use `query-replace-regexp'." (format "^%s" (helm-buffers--quote-truncated-buffer b))) (save-selected-window - (when (or (not (buffer-modified-p b)) - (y-or-n-p - (format "`%s' modified kill it anyway? " b))) - (helm-buffers-persistent-kill-1 b))) + (helm-buffers-persistent-kill-1 b)) (message nil) (helm--remove-marked-and-update-mode-line b))) (with-helm-buffer |