summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@russet.org.uk>2015-11-26 13:10:52 +0000
committerPhillip Lord <phillip.lord@russet.org.uk>2015-11-26 13:10:52 +0000
commit070434dafda6b1bc1a6d0a3d1212508ed92687f7 (patch)
tree85bbbbac4c3cd042c4e816178971d80330c34055
parent3e18fc27829247c2a9ff0d65766bd4030aaedd6a (diff)
downloademacs-fix/undo-point-in-wrong-place.tar.gz
-rw-r--r--src/keyboard.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/keyboard.h b/src/keyboard.h
index d4aa7452bc1..6c715a44fba 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -245,7 +245,15 @@ extern KBOARD *current_kboard;
/* Total number of times read_char has returned, modulo UINTMAX_MAX + 1. */
extern uintmax_t num_input_events;
+
+/* The location of point immediately before the last command was
+ executed, or the last time the undo-boundary command added a
+ boundary.*/
ptrdiff_t point_before_last_command_or_undo;
+
+/* The value of current_buffer immediately before the last command was
+ executed, or the last time the undo-boundary command added a
+ boundary.*/
struct buffer *buffer_before_last_command_or_undo;
extern struct buffer *prev_buffer;