emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/systemd a22a097 009/131: use function-item in customize


From: ELPA Syncer
Subject: [nongnu] elpa/systemd a22a097 009/131: use function-item in customize
Date: Sun, 29 Aug 2021 11:35:05 -0400 (EDT)

branch: elpa/systemd
commit a22a097e2c1849b0492615bb92eebbb16affe31e
Author: Mark Oteiza <mvoteiza@udel.edu>
Commit: Mark Oteiza <mvoteiza@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
   `(



reply via email to

[Prev in Thread] Current Thread [Next in Thread]