HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't ignore SIGPROF in subprocesses
[bpt/emacs.git]
/
src
/
undo.c
diff --git
a/src/undo.c
b/src/undo.c
index
234b851
..
7286d40
100644
(file)
--- a/
src/undo.c
+++ b/
src/undo.c
@@
-1,5
+1,5
@@
/* undo handling for GNU Emacs.
/* undo handling for GNU Emacs.
- Copyright (C) 1990, 1993-1994, 2000-201
3
Free Software Foundation,
+ Copyright (C) 1990, 1993-1994, 2000-201
4
Free Software Foundation,
Inc.
This file is part of GNU Emacs.
Inc.
This file is part of GNU Emacs.
@@
-55,7
+55,7
@@
static Lisp_Object pending_boundary;
static void
record_point (ptrdiff_t pt)
{
static void
record_point (ptrdiff_t pt)
{
-
int
at_boundary;
+
bool
at_boundary;
/* Don't record position of pt when undo_inhibit_record_point holds. */
if (undo_inhibit_record_point)
/* Don't record position of pt when undo_inhibit_record_point holds. */
if (undo_inhibit_record_point)
@@
-77,7
+77,7
@@
record_point (ptrdiff_t pt)
if (CONSP (BVAR (current_buffer, undo_list)))
{
if (CONSP (BVAR (current_buffer, undo_list)))
{
- /* Set AT_BOUNDARY
to 1
only when we have nothing other than
+ /* Set AT_BOUNDARY only when we have nothing other than
marker adjustment before undo boundary. */
Lisp_Object tail = BVAR (current_buffer, undo_list), elt;
marker adjustment before undo boundary. */
Lisp_Object tail = BVAR (current_buffer, undo_list), elt;
@@
-244,7
+244,7
@@
record_property_change (ptrdiff_t beg, ptrdiff_t length,
{
Lisp_Object lbeg, lend, entry;
struct buffer *obuf = current_buffer, *buf = XBUFFER (buffer);
{
Lisp_Object lbeg, lend, entry;
struct buffer *obuf = current_buffer, *buf = XBUFFER (buffer);
-
int
boundary = 0;
+
bool
boundary = 0;
if (EQ (BVAR (buf, undo_list), Qt))
return;
if (EQ (BVAR (buf, undo_list), Qt))
return;