diff options
| author | Eivind Fonn <evfonn@gmail.com> | 2020-03-04 10:06:15 +0100 |
|---|---|---|
| committer | Eivind Fonn <evfonn@gmail.com> | 2020-03-04 10:06:15 +0100 |
| commit | 54b0efd4467d077c9c4b90e062dd6dc32e0d49fa (patch) | |
| tree | 7dbfc1bcea1d20684a62ab881695fc9994d85eb9 /scripts | |
| parent | 3866b7dcfe5ce1b19b4a14e1aef8c40c16ea4e39 (diff) | |
Docs: handle default values that must be evaluated
Also regenerate
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/evil-extract-docstrings | 2 |
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 |
