Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
counsel-set-variable does not handle defcustom with multiple entries #960
Given the following
(defcustom shell-pop-shell-type '("shell" "*shell*" (lambda () (shell))) "Type of shell that is launched when first popping into a shell. The value is a list with these items: - Internal name of the shell type. This should be unique \"id\". - Name of the buffer this shell opens. - A function that launches the shell." :type '(choice (list :tag "Custom" string string function) (const :tag "shell" ("shell" "*shell*" (lambda () (shell)))) (const :tag "terminal" ("terminal" "*terminal*" (lambda () (term shell-pop-term-shell)))) (const :tag "ansi-term" ("ansi-term" "*ansi-term*" (lambda () (ansi-term shell-pop-term-shell)))) (const :tag "eshell" ("eshell" "*eshell*" (lambda () (eshell))))) :set 'shell-pop--set-shell-type :group 'shell-pop)
Setting this with
@abo-abo that seems to have fixed the unhandled error, but it's still offering me the following options:
This first option shouldn't be offered at all I think.