diff options
| author | Juanma Barranquero | 2015-11-13 10:56:28 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2015-11-13 10:59:23 +0100 |
| commit | 66b9f7bdcfc120e61d01b6f93c9c03e5ed9d17aa (patch) | |
| tree | 06c13099e3c3d98bec71cc67baac7234eba25d6c /src | |
| parent | 2fac30eb8d8737ee3b553d4d8ec56e1f29551f0f (diff) | |
| download | emacs-66b9f7bdcfc120e61d01b6f93c9c03e5ed9d17aa.tar.gz emacs-66b9f7bdcfc120e61d01b6f93c9c03e5ed9d17aa.zip | |
* src/undo.c: Small fixes for previous change
(run_undoable_change): Mark void argument list.
(record_property_change): Remove unused variable `boundary'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/undo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/undo.c b/src/undo.c index 009ebc0f959..0a5da853dc0 100644 --- a/src/undo.c +++ b/src/undo.c | |||
| @@ -35,7 +35,7 @@ static ptrdiff_t last_boundary_position; | |||
| 35 | static Lisp_Object pending_boundary; | 35 | static Lisp_Object pending_boundary; |
| 36 | 36 | ||
| 37 | void | 37 | void |
| 38 | run_undoable_change () | 38 | run_undoable_change (void) |
| 39 | { | 39 | { |
| 40 | call0 (Qundo_auto__undoable_change); | 40 | call0 (Qundo_auto__undoable_change); |
| 41 | } | 41 | } |
| @@ -235,7 +235,6 @@ record_property_change (ptrdiff_t beg, ptrdiff_t length, | |||
| 235 | { | 235 | { |
| 236 | Lisp_Object lbeg, lend, entry; | 236 | Lisp_Object lbeg, lend, entry; |
| 237 | struct buffer *obuf = current_buffer, *buf = XBUFFER (buffer); | 237 | struct buffer *obuf = current_buffer, *buf = XBUFFER (buffer); |
| 238 | bool boundary = false; | ||
| 239 | 238 | ||
| 240 | if (EQ (BVAR (buf, undo_list), Qt)) | 239 | if (EQ (BVAR (buf, undo_list), Qt)) |
| 241 | return; | 240 | return; |