mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-17 11:20:39 -08:00
Fix usage of set_buffer_internal.
* buffer.h (set_buffer_internal): Make it BUFFER_INLINE. * buffer.c (set_buffer_if_live): Use set_buffer_internal. * coding.c (decode_coding): Omit redundant test. * fileio.c (decide_coding_unwind): Likewise. * fns.c (secure_hash): Likewise. * insdel.c (modify_region): Likewise. * keyboard.c (command_loop_1): Likewise. * print.c (PRINTFINISH): Likewise. * xdisp.c (run_window_scroll_functions): Use set_buffer_internal.
This commit is contained in:
parent
59ea14cde3
commit
a3d794a153
10 changed files with 40 additions and 38 deletions
|
|
@ -7006,8 +7006,7 @@ decode_coding (struct coding_system *coding)
|
|||
undo_list = Qt;
|
||||
if (BUFFERP (coding->dst_object))
|
||||
{
|
||||
if (current_buffer != XBUFFER (coding->dst_object))
|
||||
set_buffer_internal (XBUFFER (coding->dst_object));
|
||||
set_buffer_internal (XBUFFER (coding->dst_object));
|
||||
if (GPT != PT)
|
||||
move_gap_both (PT, PT_BYTE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue