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

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

[nongnu] elpa/bind-map bf4181e3a4 95/97: Add types to defcustoms


From: ELPA Syncer
Subject: [nongnu] elpa/bind-map bf4181e3a4 95/97: Add types to defcustoms
Date: Thu, 20 Jan 2022 07:59:34 -0500 (EST)

branch: elpa/bind-map
commit bf4181e3a41463684adfffc6c5c305b30480e30f
Author: Justin Burkett <justin@burkett.cc>
Commit: Justin Burkett <justin@burkett.cc>

    Add types to defcustoms
---
 bind-map.el | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/bind-map.el b/bind-map.el
index c45327043a..386afbc959 100644
--- a/bind-map.el
+++ b/bind-map.el
@@ -109,20 +109,24 @@
 
 (defcustom bind-map-default-keys nil
   "Default for :keys when unspecified."
-  :group 'bind-map)
+  :group 'bind-map
+  :type  '(repeat string))
 
 (defcustom bind-map-default-evil-states '(normal motion visual)
   "Default states for evil bindings."
-  :group 'bind-map)
+  :group 'bind-map
+  :type  '(repeat symbol))
 
 (defcustom bind-map-default-evil-keys nil
   "Default for :evil-keys when unspecified."
-  :group 'bind-map)
+  :group 'bind-map
+  :type  '(repeat string))
 
 (defcustom bind-map-default-map-suffix "-bm-map"
   "Default suffix to use for `bind-map-for-major-mode' and
 `bind-map-for-minor-mode'."
-  :group 'bind-map)
+  :group 'bind-map
+  :type  'string)
 
 (defvar bind-map-evil-local-bindings '()
   "Each element takes the form (OVERRIDE-MODE STATE KEY DEF) and



reply via email to

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