diff options
Diffstat (limited to 'src/buffer.h')
| -rw-r--r-- | src/buffer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buffer.h b/src/buffer.h index 61ef15d9c3d..284cfa7b4a8 100644 --- a/src/buffer.h +++ b/src/buffer.h | |||
| @@ -1088,8 +1088,9 @@ extern void mmap_set_vars (bool); | |||
| 1088 | extern void restore_buffer (Lisp_Object); | 1088 | extern void restore_buffer (Lisp_Object); |
| 1089 | extern void set_buffer_if_live (Lisp_Object); | 1089 | extern void set_buffer_if_live (Lisp_Object); |
| 1090 | 1090 | ||
| 1091 | INLINE | 1091 | /* Return B as a struct buffer pointer, defaulting to the current buffer. */ |
| 1092 | struct buffer * | 1092 | |
| 1093 | INLINE struct buffer * | ||
| 1093 | decode_buffer (Lisp_Object b) | 1094 | decode_buffer (Lisp_Object b) |
| 1094 | { | 1095 | { |
| 1095 | return NILP (b) ? current_buffer : (CHECK_BUFFER (b), XBUFFER (b)); | 1096 | return NILP (b) ? current_buffer : (CHECK_BUFFER (b), XBUFFER (b)); |