Accidentary enter mini-buffer prompt if candidate snippet have completing-read
conao3 opened this issue · 1 comments
conao3 commented
Accidentary enter mini-buffer prompt if candidate snippet have completing-read.
repro step
- save below snippet as
~/snippet/org-mode/begin_src
# name: begin_src
# key: begin_src
# --
#+begin_src ${1: $$(yas-completing-read "Prompt: "
(append
'("C++")
(mapcar
(lambda (elm)
(substring (symbol-name elm) 3))
(cl-remove-if-not
(lambda (elm)
(string-prefix-p "ob-" (symbol-name elm)))
features))))}
$0
#+end_src
- open some org-mode
M-x ivy-yasnippet
- move to
begin_src
candidate - Now prompt enter new
completing-read
state, mini-buffer sayPrompt:
.