diff options
| author | Mattias EngdegÄrd | 2020-01-05 21:55:20 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2020-01-05 23:30:05 +0100 |
| commit | 35d569482567acffc992e1c8113ea1eb713dde52 (patch) | |
| tree | af2b29148c52430e2a49181c700aed4e869b5b79 /lisp | |
| parent | b47a0d6d5404541fde271e9466dfe19514a5643c (diff) | |
| download | emacs-35d569482567acffc992e1c8113ea1eb713dde52.tar.gz emacs-35d569482567acffc992e1c8113ea1eb713dde52.zip | |
Mark 'catch' and 'condition-case' bytecodes as obsolete
They have not been generated by the byte-compiler since Emacs 25.
* lisp/emacs-lisp/bytecomp.el (byte-catch, byte-condition-case):
* src/bytecode.c (BYTE_CODES, exec_byte_code):
Mark as obsolete (since Emacs 25; they were still generated in 24.4).
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index cdcc9380163..20c0fc32fa8 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -719,14 +719,15 @@ otherwise pop it") | |||
| 719 | "to make a binding to record entire window configuration") | 719 | "to make a binding to record entire window configuration") |
| 720 | (byte-defop 140 0 byte-save-restriction | 720 | (byte-defop 140 0 byte-save-restriction |
| 721 | "to make a binding to record the current buffer clipping restrictions") | 721 | "to make a binding to record the current buffer clipping restrictions") |
| 722 | (byte-defop 141 -1 byte-catch | 722 | (byte-defop 141 -1 byte-catch-OBSOLETE ; Not generated since Emacs 25. |
| 723 | "for catch. Takes, on stack, the tag and an expression for the body") | 723 | "for catch. Takes, on stack, the tag and an expression for the body") |
| 724 | (byte-defop 142 -1 byte-unwind-protect | 724 | (byte-defop 142 -1 byte-unwind-protect |
| 725 | "for unwind-protect. Takes, on stack, an expression for the unwind-action") | 725 | "for unwind-protect. Takes, on stack, an expression for the unwind-action") |
| 726 | 726 | ||
| 727 | ;; For condition-case. Takes, on stack, the variable to bind, | 727 | ;; For condition-case. Takes, on stack, the variable to bind, |
| 728 | ;; an expression for the body, and a list of clauses. | 728 | ;; an expression for the body, and a list of clauses. |
| 729 | (byte-defop 143 -2 byte-condition-case) | 729 | ;; Not generated since Emacs 25. |
| 730 | (byte-defop 143 -2 byte-condition-case-OBSOLETE) | ||
| 730 | 731 | ||
| 731 | (byte-defop 144 0 byte-temp-output-buffer-setup-OBSOLETE) | 732 | (byte-defop 144 0 byte-temp-output-buffer-setup-OBSOLETE) |
| 732 | (byte-defop 145 -1 byte-temp-output-buffer-show-OBSOLETE) | 733 | (byte-defop 145 -1 byte-temp-output-buffer-show-OBSOLETE) |