Mercurial > emacs
changeset 16292:86408ea93da6
(Bsave_current_buffer): New macro.
(Fbyte_code): Handle Bsave_current_buffer.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 23 Sep 1996 04:27:27 +0000 |
parents | d62ef382bb03 |
children | 69fd25bebd93 |
files | src/bytecode.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/bytecode.c Sun Sep 22 22:56:31 1996 +0000 +++ b/src/bytecode.c Mon Sep 23 04:27:27 1996 +0000 @@ -130,7 +130,8 @@ #define Bmult 0137 #define Bpoint 0140 -#define Bmark 0141 /* no longer generated as of v18 */ +/* Was Bmark in v17. */ +#define Bsave_current_buffer 0141 #define Bgoto_char 0142 #define Binsert 0143 #define Bpoint_max 0144 @@ -537,6 +538,10 @@ record_unwind_protect (save_excursion_restore, save_excursion_save ()); break; + case Bsave_current_buffer: + record_unwind_protect (Fset_buffer, Fcurrent_buffer ()); + break; + case Bsave_window_excursion: TOP = Fsave_window_excursion (TOP); break;