diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2019-08-27 15:11:42 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2019-08-27 15:11:42 +0200 |
commit | 2fdeea3c272bec56fe1101cb2f2eeed05236908a (patch) | |
tree | 085cbad5837e8d1942859ad148b175a0d190993c /helm-buffers.el | |
parent | 49d56c19aa00843d086527b7e7fe02058a37061f (diff) |
Fix saving unmarked buffers
* helm-buffers.el (helm-buffer-save-and-update): Do it.
Diffstat (limited to 'helm-buffers.el')
-rw-r--r-- | helm-buffers.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/helm-buffers.el b/helm-buffers.el index 9ced4711..23126a62 100644 --- a/helm-buffers.el +++ b/helm-buffers.el @@ -799,8 +799,7 @@ If REGEXP-FLAG is given use `query-replace-regexp'." (defun helm-buffer-save-and-update (_candidate) (with-helm-buffer - (let ((marked (and helm-marked-candidates - (helm-marked-candidates))) + (let ((marked (helm-marked-candidates)) (preselect (helm-get-selection nil t)) (enable-recursive-minibuffers t)) (cl-assert marked nil "No buffers need to be saved") |