diff options
| author | Paul Eggert | 2014-09-17 11:27:36 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-09-17 11:27:36 -0700 |
| commit | 9356a87288edd2380ce27cd9775046675cd26f8c (patch) | |
| tree | b72b7d0a6c8ea65d594172a403df29fabd5e13c5 /src/buffer.h | |
| parent | 18f88a41a740b43297e70ba169e5c2f847280d32 (diff) | |
| download | emacs-9356a87288edd2380ce27cd9775046675cd26f8c.tar.gz emacs-9356a87288edd2380ce27cd9775046675cd26f8c.zip | |
Fix minor problems found by static checking.
* alloc.c, lisp.h (SAVE_TYPE_INT_OBJ, make_save_int_obj):
Remove; now unused.
* buffer.h (decode_buffer): Doc and indentation fixes.
* fns.c (Qstring_collate_lessp, Qstring_collate_equalp): Now static.
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)); |