diff options
| author | Pavel Janík | 2001-12-22 13:36:59 +0000 |
|---|---|---|
| committer | Pavel Janík | 2001-12-22 13:36:59 +0000 |
| commit | 5f11d42cee721667e981578f908168fe09cf847f (patch) | |
| tree | 4ee3ea2062f0dd33a36fb28e46c856534214cfa6 | |
| parent | 676927b7d8e597a75e23c26db9283d93ac0e882e (diff) | |
| download | emacs-5f11d42cee721667e981578f908168fe09cf847f.tar.gz emacs-5f11d42cee721667e981578f908168fe09cf847f.zip | |
(byte-optimize-form-code-walker): Remove mocklisp case.
| -rw-r--r-- | lisp/emacs-lisp/byte-opt.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index 37fe9f187e1..28112cc8201 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el | |||
| @@ -50,7 +50,6 @@ | |||
| 50 | ;; (put 'debug-on-error 'binding-is-magic t) | 50 | ;; (put 'debug-on-error 'binding-is-magic t) |
| 51 | ;; (put 'debug-on-abort 'binding-is-magic t) | 51 | ;; (put 'debug-on-abort 'binding-is-magic t) |
| 52 | ;; (put 'debug-on-next-call 'binding-is-magic t) | 52 | ;; (put 'debug-on-next-call 'binding-is-magic t) |
| 53 | ;; (put 'mocklisp-arguments 'binding-is-magic t) | ||
| 54 | ;; (put 'inhibit-quit 'binding-is-magic t) | 53 | ;; (put 'inhibit-quit 'binding-is-magic t) |
| 55 | ;; (put 'quit-flag 'binding-is-magic t) | 54 | ;; (put 'quit-flag 'binding-is-magic t) |
| 56 | ;; (put 't 'binding-is-magic t) | 55 | ;; (put 't 'binding-is-magic t) |
| @@ -520,9 +519,8 @@ | |||
| 520 | (byte-optimize-form form for-effect)) | 519 | (byte-optimize-form form for-effect)) |
| 521 | 520 | ||
| 522 | ((not (symbolp fn)) | 521 | ((not (symbolp fn)) |
| 523 | (or (eq 'mocklisp (car-safe fn)) ; ha! | 522 | (byte-compile-warn "`%s' is a malformed function" |
| 524 | (byte-compile-warn "`%s' is a malformed function" | 523 | (prin1-to-string fn)) |
| 525 | (prin1-to-string fn))) | ||
| 526 | form) | 524 | form) |
| 527 | 525 | ||
| 528 | ((and for-effect (setq tmp (get fn 'side-effect-free)) | 526 | ((and for-effect (setq tmp (get fn 'side-effect-free)) |