diff options
| author | Jim Blandy | 1993-01-26 01:29:51 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-01-26 01:29:51 +0000 |
| commit | 96d699f33e3617f87c58c4841d8686e29250413c (patch) | |
| tree | 698ccbc0ede9fab29b5abc822f2a4fd217c13970 | |
| parent | d81fd0bf01cf2800a4ffd2c91ebdb19bdc07c781 (diff) | |
| download | emacs-96d699f33e3617f87c58c4841d8686e29250413c.tar.gz emacs-96d699f33e3617f87c58c4841d8686e29250413c.zip | |
compiled-function-p has been renamed to byte-code-function-p.
* subr.el: Define compiled-function-p as an alias for it.
* bytecomp.el: Register compiled-function-p as obsolete.
* bytecomp.el, byte-opt.el, disass.el, help.el, map-ynp.el: Change
uses.
| -rw-r--r-- | lisp/emacs-lisp/byte-opt.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index d4789564f5f..2443d967658 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el | |||
| @@ -220,7 +220,7 @@ | |||
| 220 | (error "file \"%s\" didn't define \"%s\"" (nth 1 fn) name)) | 220 | (error "file \"%s\" didn't define \"%s\"" (nth 1 fn) name)) |
| 221 | (if (symbolp fn) | 221 | (if (symbolp fn) |
| 222 | (byte-compile-inline-expand (cons fn (cdr form))) | 222 | (byte-compile-inline-expand (cons fn (cdr form))) |
| 223 | (if (compiled-function-p fn) | 223 | (if (byte-code-function-p fn) |
| 224 | (cons (list 'lambda (aref fn 0) | 224 | (cons (list 'lambda (aref fn 0) |
| 225 | (list 'byte-code (aref fn 1) (aref fn 2) (aref fn 3))) | 225 | (list 'byte-code (aref fn 1) (aref fn 2) (aref fn 3))) |
| 226 | (cdr form)) | 226 | (cdr form)) |
| @@ -233,7 +233,7 @@ | |||
| 233 | (or name (setq name "anonymous lambda")) | 233 | (or name (setq name "anonymous lambda")) |
| 234 | (let ((lambda (car form)) | 234 | (let ((lambda (car form)) |
| 235 | (values (cdr form))) | 235 | (values (cdr form))) |
| 236 | (if (compiled-function-p lambda) | 236 | (if (byte-code-function-p lambda) |
| 237 | (setq lambda (list 'lambda (aref lambda 0) | 237 | (setq lambda (list 'lambda (aref lambda 0) |
| 238 | (list 'byte-code (aref lambda 1) | 238 | (list 'byte-code (aref lambda 1) |
| 239 | (aref lambda 2) (aref lambda 3))))) | 239 | (aref lambda 2) (aref lambda 3))))) |
| @@ -316,7 +316,7 @@ | |||
| 316 | (and (nth 1 form) | 316 | (and (nth 1 form) |
| 317 | (not for-effect) | 317 | (not for-effect) |
| 318 | form)) | 318 | form)) |
| 319 | ((or (compiled-function-p fn) | 319 | ((or (byte-code-function-p fn) |
| 320 | (eq 'lambda (car-safe fn))) | 320 | (eq 'lambda (car-safe fn))) |
| 321 | (byte-compile-unfold-lambda form)) | 321 | (byte-compile-unfold-lambda form)) |
| 322 | ((memq fn '(let let*)) | 322 | ((memq fn '(let let*)) |
| @@ -1721,7 +1721,7 @@ may generate incorrect code.") | |||
| 1721 | ;; itself, compile some of its most used recursive functions (at load time). | 1721 | ;; itself, compile some of its most used recursive functions (at load time). |
| 1722 | ;; | 1722 | ;; |
| 1723 | (eval-when-compile | 1723 | (eval-when-compile |
| 1724 | (or (compiled-function-p (symbol-function 'byte-optimize-form)) | 1724 | (or (byte-code-function-p (symbol-function 'byte-optimize-form)) |
| 1725 | (assq 'byte-code (symbol-function 'byte-optimize-form)) | 1725 | (assq 'byte-code (symbol-function 'byte-optimize-form)) |
| 1726 | (let ((byte-optimize nil) | 1726 | (let ((byte-optimize nil) |
| 1727 | (byte-compile-warnings nil)) | 1727 | (byte-compile-warnings nil)) |