About yas/choose value #368

fab59 opened this Issue Feb 28, 2013 · 1 comment


None yet
1 participant

fab59 commented Feb 28, 2013

If you test the code below, you will notice that there is a small problem: " / yas / text " what appears, what I do not want.
How to correct the code?
Thank you.

${1:$$(yas/choose-value '("N" "Z" "D" "Q" "R"))}${1:$(yas/latex-choose-group yas/text)} $0

(defun yas/latex-choose-group (text)
(cond ((string= text "N") "$\mathbb{N}$" )
((string= text "Z") "$\mathbb{Z}$" )
((string= text "D") "$\mathbb{D}$" )
((string= text "Q") "$\mathbb{Q}$" )
((string= text "R") "$\mathbb{R}$" )))

fab59 commented Jul 1, 2013

Why anybody does not want to try to bring an answer to the problem which I lift ?
Thank you.

@fab59 fab59 closed this Jul 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment