use function-item in customize
Thanks to lua-mode maintainer for the idea
This commit is contained in:
parent
67703af314
commit
a22a097e2c
@ -31,14 +31,16 @@
|
|||||||
|
|
||||||
(defcustom systemd-browse-url-function 'eww
|
(defcustom systemd-browse-url-function 'eww
|
||||||
"Browser to use for HTTP(S) documentation."
|
"Browser to use for HTTP(S) documentation."
|
||||||
:group 'systemd
|
:type '(radio (function-item eww)
|
||||||
:type '(choice function))
|
(function-item browse-url)
|
||||||
|
(function :tag "Other function"))
|
||||||
|
:group 'systemd)
|
||||||
|
|
||||||
(defcustom systemd-comment-start "#"
|
(defcustom systemd-comment-start "#"
|
||||||
"String to insert to start a new comment."
|
"String to insert to start a new comment."
|
||||||
:group 'systemd
|
|
||||||
:type '(choice (string :tag "Comment sign" "#")
|
:type '(choice (string :tag "Comment sign" "#")
|
||||||
(string :tag "Semicolon" ";")))
|
(string :tag "Semicolon" ";"))
|
||||||
|
:group 'systemd)
|
||||||
|
|
||||||
(defvar systemd-font-lock-keywords
|
(defvar systemd-font-lock-keywords
|
||||||
`(
|
`(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user