Skip to content

Commit

Permalink
Make customize command displaying custom buffer even
Browse files Browse the repository at this point in the history
when helm-buffer is empty.
  • Loading branch information
thierryvolpiatto committed Jul 8, 2022
1 parent 7ba6a37 commit de29082
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion helm-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,15 @@ and vectors, so don't use strings to define them."

Default to Helm group when group is not defined in source."
(interactive)
(helm-run-after-exit 'helm-customize-group-1 (helm-get-attr 'group)))
(let ((source (or (helm-get-current-source)
(helm-comp-read
"Customize variables for: "
(cl-loop for src in (with-helm-buffer helm-sources)
collect `(,(assoc-default 'name src) .
,src))
:allow-nest t
:exec-when-only-one t))))
(helm-run-after-exit 'helm-customize-group-1 (helm-get-attr 'group source))))
(put 'helm-customize-group 'helm-only t)

(defun helm--action-at-nth-set-fn-1 (value &optional negative)
Expand Down

0 comments on commit de29082

Please sign in to comment.