S
Size: a a a
S
PG
PG
:tag
надо текст указыватьPG
VL
PG
'(radio (symbol :tag "Always" t)
(symbol :tag "Ask" 'ask)
(symbol :tag "Never" nil))
VL
'(radio (symbol :tag "Always" t)
(symbol :tag "Ask" 'ask)
(symbol :tag "Never" nil))
(cl-ecase sxhkd-mode-reload-config
((t) t)
((nil) nil)
((ask) (yes-or-no-p "Reload config?")))
PG
VL
VL
PG
PG
PG
(defcustom foo nil
"Foo"
:group 'emacs
:type '(radio (const :tag "Always" t)
(const :tag "Ask" ask)
(const :tag "Never" nil)))
(if (eq foo 'ask)
(yes-or-no-p "Reload config?")
foo)
VL
(defcustom foo nil
"Foo"
:group 'emacs
:type '(radio (const :tag "Always" t)
(const :tag "Ask" ask)
(const :tag "Never" nil)))
(if (eq foo 'ask)
(yes-or-no-p "Reload config?")
foo)
VL
VL