仔细看看。
- (and (progn
- (initget 6 "20 24 30 [color=magenta]40[/color]")
- (setq kw
- (getkword
- "\nSpecify the insertion text key < M(**) socket M(**) > [20,24,30,[color=magenta]40[/color]] <Enter = Exit>:"
- )
- )
- )
- (setq
- st (nth (vl-position kw '("20" "24" "30" [color=magenta]"40"[/color]))
- '("M20 socket M20" "M24 socket M24" "M30 socket M30" [color=magenta]"M40 socket M40"[/color])
- )
- )
- )
|