aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-09-05 13:23:07 +0200
committerLars Ingebrigtsen2019-09-05 13:23:11 +0200
commit71964ccc10029c5810f78a04353d657ff9a9d321 (patch)
treea3d6ee53ea6fc4da532d9ef42836600827cefb65
parent365dad197bac5deec9244fd9c189d23c46c99b31 (diff)
downloademacs-71964ccc10029c5810f78a04353d657ff9a9d321.tar.gz
emacs-71964ccc10029c5810f78a04353d657ff9a9d321.zip
Fix defcustom type of network-security-protocol-checks
* lisp/net/nsm.el (network-security-protocol-checks): Fix the defcustom type (bug#37306).
-rw-r--r--lisp/net/nsm.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/net/nsm.el b/lisp/net/nsm.el
index 2121fdeb519..1a5febeda0b 100644
--- a/lisp/net/nsm.el
+++ b/lisp/net/nsm.el
@@ -55,7 +55,6 @@ compatibility concerns.
55See the Emacs manual for a description of all things that are 55See the Emacs manual for a description of all things that are
56checked and warned against." 56checked and warned against."
57 :version "25.1" 57 :version "25.1"
58 :group 'nsm
59 :type '(choice (const :tag "Low" low) 58 :type '(choice (const :tag "Low" low)
60 (const :tag "Medium" medium) 59 (const :tag "Medium" medium)
61 (const :tag "High" high) 60 (const :tag "High" high)
@@ -76,7 +75,6 @@ connecting to hosts on a local network.
76Make sure you know what you are doing before enabling this 75Make sure you know what you are doing before enabling this
77option." 76option."
78 :version "27.1" 77 :version "27.1"
79 :group 'nsm
80 :type '(choice (const :tag "On" t) 78 :type '(choice (const :tag "On" t)
81 (const :tag "Off" nil) 79 (const :tag "Off" nil)
82 (function :tag "Custom function"))) 80 (function :tag "Custom function")))
@@ -85,7 +83,6 @@ option."
85 user-emacs-directory) 83 user-emacs-directory)
86 "The file the security manager settings will be stored in." 84 "The file the security manager settings will be stored in."
87 :version "25.1" 85 :version "25.1"
88 :group 'nsm
89 :type 'file) 86 :type 'file)
90 87
91(defcustom nsm-save-host-names nil 88(defcustom nsm-save-host-names nil
@@ -93,7 +90,6 @@ option."
93By default, only hosts that have exceptions have their names 90By default, only hosts that have exceptions have their names
94stored in plain text." 91stored in plain text."
95 :version "25.1" 92 :version "25.1"
96 :group 'nsm
97 :type 'boolean) 93 :type 'boolean)
98 94
99(defvar nsm-noninteractive nil 95(defvar nsm-noninteractive nil
@@ -175,8 +171,7 @@ otherwise.
175See also: `nsm-check-tls-connection', `nsm-save-host-names', 171See also: `nsm-check-tls-connection', `nsm-save-host-names',
176`nsm-settings-file'" 172`nsm-settings-file'"
177 :version "27.1" 173 :version "27.1"
178 :group 'nsm 174 :type '(repeat (cons (symbol :tag "Check function")
179 :type '(repeat (cons (function :tag "Check function")
180 (choice :tag "Level" 175 (choice :tag "Level"
181 :value medium 176 :value medium
182 (const :tag "Low" low) 177 (const :tag "Low" low)