diff options
| author | Stefan Monnier | 2001-05-27 11:40:39 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-05-27 11:40:39 +0000 |
| commit | d686d354c1a0ca892183a017a467b8ae6280b33b (patch) | |
| tree | 2b30509094213fdbdbc5bf8e1f07fe0acf89607e | |
| parent | 0abfa90d846e6545b7ea72d5eb9282ebd9bd45d1 (diff) | |
| download | emacs-d686d354c1a0ca892183a017a467b8ae6280b33b.tar.gz emacs-d686d354c1a0ca892183a017a467b8ae6280b33b.zip | |
(byte-compile-file-form-autoload): Use the
same definition in byte-compile-function-environment as `autoload'
would put in `symbol-function'.
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 12 |
2 files changed, 15 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5fed6126f63..8b9eb130bc2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2001-05-27 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Use the | ||
| 4 | same definition in byte-compile-function-environment as `autoload' | ||
| 5 | would put in `symbol-function'. | ||
| 6 | |||
| 7 | * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Complete Dave's | ||
| 8 | patch to correct the error message as well. | ||
| 9 | |||
| 1 | 2001-05-27 Eli Zaretskii <eliz@is.elta.co.il> | 10 | 2001-05-27 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 11 | ||
| 3 | * cus-edit.el (custom-file): Don't assume we were invoked with -q | 12 | * cus-edit.el (custom-file): Don't assume we were invoked with -q |
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 6ade734984d..4c6881e0b0a 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | 10 | ||
| 11 | ;;; This version incorporates changes up to version 2.10 of the | 11 | ;;; This version incorporates changes up to version 2.10 of the |
| 12 | ;;; Zawinski-Furuseth compiler. | 12 | ;;; Zawinski-Furuseth compiler. |
| 13 | (defconst byte-compile-version "$Revision: 2.81 $") | 13 | (defconst byte-compile-version "$Revision: 2.82 $") |
| 14 | 14 | ||
| 15 | ;; This file is part of GNU Emacs. | 15 | ;; This file is part of GNU Emacs. |
| 16 | 16 | ||
| @@ -1836,7 +1836,7 @@ list that represents a doc string reference. | |||
| 1836 | (symbolp (nth 1 (nth 1 form)))) | 1836 | (symbolp (nth 1 (nth 1 form)))) |
| 1837 | (add-to-list 'byte-compile-function-environment | 1837 | (add-to-list 'byte-compile-function-environment |
| 1838 | (cons (nth 1 (nth 1 form)) | 1838 | (cons (nth 1 (nth 1 form)) |
| 1839 | form))) | 1839 | (cons 'autoload (cdr (cdr form)))))) |
| 1840 | (if (stringp (nth 3 form)) | 1840 | (if (stringp (nth 3 form)) |
| 1841 | form | 1841 | form |
| 1842 | ;; No doc string, so we can compile this as a normal form. | 1842 | ;; No doc string, so we can compile this as a normal form. |
| @@ -3641,10 +3641,10 @@ For example, invoke `emacs -batch -f batch-byte-recompile-directory .'." | |||
| 3641 | (assq 'byte-code (symbol-function 'byte-compile-form)) | 3641 | (assq 'byte-code (symbol-function 'byte-compile-form)) |
| 3642 | (let ((byte-optimize nil) ; do it fast | 3642 | (let ((byte-optimize nil) ; do it fast |
| 3643 | (byte-compile-warnings nil)) | 3643 | (byte-compile-warnings nil)) |
| 3644 | (mapcar '(lambda (x) | 3644 | (mapcar (lambda (x) |
| 3645 | (or noninteractive (message "compiling %s..." x)) | 3645 | (or noninteractive (message "compiling %s..." x)) |
| 3646 | (byte-compile x) | 3646 | (byte-compile x) |
| 3647 | (or noninteractive (message "compiling %s...done" x))) | 3647 | (or noninteractive (message "compiling %s...done" x))) |
| 3648 | '(byte-compile-normal-call | 3648 | '(byte-compile-normal-call |
| 3649 | byte-compile-form | 3649 | byte-compile-form |
| 3650 | byte-compile-body | 3650 | byte-compile-body |