diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-06-05 06:33:44 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-06-05 06:33:44 +0000 |
commit | e971339e72dd925f45a93eb166e56f13ccb16362 (patch) | |
tree | 98d851b0bac95ec244aacffd4210e57fd87b0af2 /lisp/emacs-lisp/autoload.el | |
parent | a8add29deb4f1a75e718f656927d4663153a4cb4 (diff) | |
download | emacs-e971339e72dd925f45a93eb166e56f13ccb16362.tar.gz |
(make-autoload): let* typo.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
-rw-r--r-- | lisp/emacs-lisp/autoload.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 8fabdb6e14a..b9edcdb8ffd 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -67,10 +67,10 @@ Returns nil if FORM is not a function or variable or macro definition." (if (memq car '(defun define-skeleton defmacro define-derived-mode define-generic-mode easy-mmode-define-minor-mode define-minor-mode defun*)) - (let ((macrop (eq car 'defmacro)) - (name (nth 1 form)) - (body (nthcdr (get car 'doc-string-elt) form)) - (doc (if (stringp (car body)) (pop body)))) + (let* ((macrop (eq car 'defmacro)) + (name (nth 1 form)) + (body (nthcdr (get car 'doc-string-elt) form)) + (doc (if (stringp (car body)) (pop body)))) ;; `define-generic-mode' quotes the name, so take care of that (list 'autoload (if (listp name) name (list 'quote name)) file doc (or (and (memq car '(define-skeleton define-derived-mode |