diff options
Diffstat (limited to 'lispdoc.el')
| -rw-r--r-- | lispdoc.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -15,7 +15,10 @@ (delete-region begin end)) (let* ((sym (or (intern-soft name) (error "'%s' is not a function!" name))) - (data (symbol-function sym)) + (data (let ((func (symbol-function sym))) + (while (symbolp func) + (setq func (symbol-function func))) + func)) (args (pp-to-string (if (listp data) (cadr data) (aref data 0)))) |
