aboutsummaryrefslogtreecommitdiffstats
path: root/src/undo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/undo.c b/src/undo.c
index d11cd6f5570..80aff50d18a 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -26,11 +26,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
26 26
27/* Last buffer for which undo information was recorded. */ 27/* Last buffer for which undo information was recorded. */
28/* BEWARE: This is not traced by the GC, so never dereference it! */ 28/* BEWARE: This is not traced by the GC, so never dereference it! */
29struct buffer *last_undo_buffer; 29static struct buffer *last_undo_buffer;
30 30
31/* Position of point last time we inserted a boundary. */ 31/* Position of point last time we inserted a boundary. */
32struct buffer *last_boundary_buffer; 32static struct buffer *last_boundary_buffer;
33EMACS_INT last_boundary_position; 33static EMACS_INT last_boundary_position;
34 34
35Lisp_Object Qinhibit_read_only; 35Lisp_Object Qinhibit_read_only;
36 36
@@ -43,7 +43,7 @@ Lisp_Object Qapply;
43 which will be added to the list at the end of the command. 43 which will be added to the list at the end of the command.
44 This ensures we can't run out of space while trying to make 44 This ensures we can't run out of space while trying to make
45 an undo-boundary. */ 45 an undo-boundary. */
46Lisp_Object pending_boundary; 46static Lisp_Object pending_boundary;
47 47
48/* Record point as it was at beginning of this command (if necessary) 48/* Record point as it was at beginning of this command (if necessary)
49 and prepare the undo info for recording a change. 49 and prepare the undo info for recording a change.
@@ -711,4 +711,3 @@ so it must make sure not to do a lot of consing. */);
711 doc: /* Non-nil means do not record `point' in `buffer-undo-list'. */); 711 doc: /* Non-nil means do not record `point' in `buffer-undo-list'. */);
712 undo_inhibit_record_point = 0; 712 undo_inhibit_record_point = 0;
713} 713}
714