diff options
| -rw-r--r-- | lisp/help.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/help.el b/lisp/help.el index 8fdcc7c8d48..3911a166da8 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -565,10 +565,13 @@ C-w Display information on absence of warranty for GNU Emacs." | |||
| 565 | (princ "'"))) | 565 | (princ "'"))) |
| 566 | (princ ".") | 566 | (princ ".") |
| 567 | (terpri) | 567 | (terpri) |
| 568 | (let ((arglist (cond ((byte-code-function-p def) | 568 | (let* ((inner-function (if (and (listp def) 'macro) |
| 569 | (car (append def nil))) | 569 | (cdr def) |
| 570 | ((eq (car-safe def) 'lambda) | 570 | def)) |
| 571 | (nth 1 def)) | 571 | (arglist (cond ((byte-code-function-p inner-function) |
| 572 | (car (append inner-function nil))) | ||
| 573 | ((eq (car-safe inner-function) 'lambda) | ||
| 574 | (nth 1 inner-function)) | ||
| 572 | (t t)))) | 575 | (t t)))) |
| 573 | (if (listp arglist) | 576 | (if (listp arglist) |
| 574 | (progn | 577 | (progn |