diff options
Diffstat (limited to 'src/buffer.h')
| -rw-r--r-- | src/buffer.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h index 929da3c4791..3acf1423816 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -1038,6 +1038,15 @@ set_buffer_internal (struct buffer *b) | |||
| 1038 | set_buffer_internal_1 (b); | 1038 | set_buffer_internal_1 (b); |
| 1039 | } | 1039 | } |
| 1040 | 1040 | ||
| 1041 | /* Arrange to go back to the original buffer after the next | ||
| 1042 | call to unbind_to if the original buffer is still alive. */ | ||
| 1043 | |||
| 1044 | BUFFER_INLINE void | ||
| 1045 | record_unwind_current_buffer (void) | ||
| 1046 | { | ||
| 1047 | record_unwind_protect (set_buffer_if_live, Fcurrent_buffer ()); | ||
| 1048 | } | ||
| 1049 | |||
| 1041 | /* Get overlays at POSN into array OVERLAYS with NOVERLAYS elements. | 1050 | /* Get overlays at POSN into array OVERLAYS with NOVERLAYS elements. |
| 1042 | If NEXTP is non-NULL, return next overlay there. | 1051 | If NEXTP is non-NULL, return next overlay there. |
| 1043 | See overlay_at arg CHANGE_REQ for meaning of CHRQ arg. */ | 1052 | See overlay_at arg CHANGE_REQ for meaning of CHRQ arg. */ |