branch: elpa/systemd commit a22a097e2c1849b0492615bb92eebbb16affe31e Author: Mark Oteiza <mvote...@udel.edu> Commit: Mark Oteiza <mvote...@udel.edu>
use function-item in customize Thanks to lua-mode maintainer for the idea --- systemd-mode.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/systemd-mode.el b/systemd-mode.el index 7acb80f..3cf203e 100644 --- a/systemd-mode.el +++ b/systemd-mode.el @@ -31,14 +31,16 @@ (defcustom systemd-browse-url-function 'eww "Browser to use for HTTP(S) documentation." - :group 'systemd - :type '(choice function)) + :type '(radio (function-item eww) + (function-item browse-url) + (function :tag "Other function")) + :group 'systemd) (defcustom systemd-comment-start "#" "String to insert to start a new comment." - :group 'systemd :type '(choice (string :tag "Comment sign" "#") - (string :tag "Semicolon" ";"))) + (string :tag "Semicolon" ";")) + :group 'systemd) (defvar systemd-font-lock-keywords `(