* src/undo.c: Small fixes for previous change

(run_undoable_change): Mark void argument list.
(record_property_change): Remove unused variable `boundary'.
This commit is contained in:
Juanma Barranquero 2015-11-13 10:56:28 +01:00
parent 2fac30eb8d
commit 66b9f7bdcf

View file

@ -35,7 +35,7 @@ static ptrdiff_t last_boundary_position;
static Lisp_Object pending_boundary; static Lisp_Object pending_boundary;
void void
run_undoable_change () run_undoable_change (void)
{ {
call0 (Qundo_auto__undoable_change); call0 (Qundo_auto__undoable_change);
} }
@ -235,7 +235,6 @@ record_property_change (ptrdiff_t beg, ptrdiff_t length,
{ {
Lisp_Object lbeg, lend, entry; Lisp_Object lbeg, lend, entry;
struct buffer *obuf = current_buffer, *buf = XBUFFER (buffer); struct buffer *obuf = current_buffer, *buf = XBUFFER (buffer);
bool boundary = false;
if (EQ (BVAR (buf, undo_list), Qt)) if (EQ (BVAR (buf, undo_list), Qt))
return; return;