aboutsummaryrefslogtreecommitdiff
path: root/scripts/evil-extract-docstrings
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/evil-extract-docstrings')
-rwxr-xr-xscripts/evil-extract-docstrings2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/evil-extract-docstrings b/scripts/evil-extract-docstrings
index 72a9198..ebd05dc 100755
--- a/scripts/evil-extract-docstrings
+++ b/scripts/evil-extract-docstrings
@@ -36,6 +36,8 @@
(let ((default (car (get sym 'standard-value))))
(while (and (consp default) (memq (car default) '(function quote)))
(setq default (cadr default)))
+ (when (eq 'funcall (car-safe default))
+ (setq default (eval default)))
;; (when (and (boundp sym) (keymapp (symbol-value sym)))
;; (message (format "%S" sym)))
(push `(,sym (default . ,(cond