branch: scratch/editorconfig-cc
commit 1b3245272404dc6ee796ece729d5711505b2626e
Author: 10sr <8slashes+...@gmail.com>
Commit: Stefan Monnier <monn...@iro.umontreal.ca>

    Use hook type for custom-hooks defcustom
---
 editorconfig.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/editorconfig.el b/editorconfig.el
index c67e4e88cf..b5ca482ee8 100644
--- a/editorconfig.el
+++ b/editorconfig.el
@@ -85,7 +85,7 @@ property emacs_linum to decide whether to show line numbers 
on the left
        (let ((show-line-num (gethash 'emacs_linum props)))
          (cond ((equal show-line-num \"true\") (linum-mode 1))
            ((equal show-line-num \"false\") (linum-mode 0))))))"
-  :type '(lambda (properties) (body))
+  :type 'hook
   :group 'editorconfig)
 (define-obsolete-variable-alias
   'edconf-custom-hooks

Reply via email to