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

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

[elpa] externals/objed 39095c2 143/216: Add type specifications to defcu


From: Stefan Monnier
Subject: [elpa] externals/objed 39095c2 143/216: Add type specifications to defcustom calls
Date: Tue, 8 Jan 2019 12:29:28 -0500 (EST)

branch: externals/objed
commit 39095c25e40dea55bcc455fc0947e9282a468b37
Author: Gergely Polonkai <address@hidden>
Commit: Gergely Polonkai <address@hidden>

    Add type specifications to defcustom calls
---
 objed.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/objed.el b/objed.el
index b9dd943..920f564 100644
--- a/objed.el
+++ b/objed.el
@@ -168,7 +168,8 @@ See also `objed-disabled-p'"
 (defcustom objed-init-p-function #'objed-init-p
   "Function which test if objed is allowd to initialize.
 
-The function should return nil if objed should not initialize.")
+The function should return nil if objed should not initialize."
+  :type 'function)
 
 
 (defcustom objed-cmd-alist
@@ -279,7 +280,8 @@ state. Commands added to this list wont do that."
 
 (defcustom objed-modeline-hint-p t
   "Whether to show hint for current object in mode line."
-  :group 'objed)
+  :group 'objed
+  :type 'boolean)
 
 (defcustom objed-mode-line-format
   '(:eval (propertize



reply via email to

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