summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;