-
-
Notifications
You must be signed in to change notification settings - Fork 338
Closed
Description
I have counsel-find-file-ignore-regexp set as below:
(setq counsel-find-file-ignore-regexp
(concat
;; file names beginning with # or .
"\\(?:\\`[#.]\\)"
;; file names ending with # or ~
"\\|\\(?:[#~]\\'\\)"))If I do, M-x counsel-set-variable for that variable, I get
Debugger entered--Lisp error: (wrong-type-argument symbolp "(?:`[#.]\)\|\(?:[#
]\'\)")]')")
symbol-name("\(?:\`[#.])|(?:[#
counsel-set-variable()
funcall-interactively(counsel-set-variable)
call-interactively(counsel-set-variable nil nil)
command-execute(counsel-set-variable)
I fixed it by commenting out the symbol-name call for now:
(let ((res (ivy-read (format "Set (%S): " sym)
cands
;; :preselect (symbol-name (symbol-value sym))
)))Metadata
Metadata
Assignees
Labels
No labels