emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] fix/no-undo-boundary-on-secondary-buffer-change 5beaa36: F


From: Phillip Lord
Subject: [Emacs-diffs] fix/no-undo-boundary-on-secondary-buffer-change 5beaa36: Fixed renaming in C layer.
Date: Tue, 10 Nov 2015 21:22:48 +0000

branch: fix/no-undo-boundary-on-secondary-buffer-change
commit 5beaa36728d198472dbea39bf689669bef3d1899
Author: Phillip Lord <address@hidden>
Commit: Phillip Lord <address@hidden>

    Fixed renaming in C layer.
    
    Now how did that happen?
---
 src/keyboard.c |    4 ++--
 src/undo.c     |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/keyboard.c b/src/keyboard.c
index c62ebfc..1f08e1f 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1504,7 +1504,7 @@ command_loop_1 (void)
 
             /* Ensure that we have added appropriate undo-boundaries as a
                result of changes from the last command. */
-            call0 (Qundo__auto_add_boundary);
+            call0 (Qundo_auto__add_boundary);
 
             call1 (Qcommand_execute, Vthis_command);
 
@@ -11088,7 +11088,7 @@ syms_of_keyboard (void)
   DEFSYM (Qpre_command_hook, "pre-command-hook");
   DEFSYM (Qpost_command_hook, "post-command-hook");
 
-  DEFSYM (Qundo__auto_add_boundary, "undo--auto-add-boundary");
+  DEFSYM (Qundo_auto__add_boundary, "undo-auto--add-boundary");
 
   DEFSYM (Qdeferred_action_function, "deferred-action-function");
   DEFSYM (Qdelayed_warnings_hook, "delayed-warnings-hook");
diff --git a/src/undo.c b/src/undo.c
index 293e181..364b37e 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -293,7 +293,7 @@ but another undo command will undo to the previous 
boundary.  */)
   last_boundary_position = PT;
   last_boundary_buffer = current_buffer;
 
-  Fset (Qundo_auto__last_boundary, Qexplicit);
+  Fset (Qundo_auto__last_boundary_cause, Qexplicit);
   return Qnil;
 }
 
@@ -437,7 +437,7 @@ syms_of_undo (void)
 {
   DEFSYM (Qinhibit_read_only, "inhibit-read-only");
   DEFSYM (Qundo_auto__undoable_change, "undo-auto--undoable-change");
-  DEFSYM (Qundo_auto__last_boundary, "undo-auto--last-boundary");
+  DEFSYM (Qundo_auto__last_boundary_cause, "undo-auto--last-boundary-cause");
   DEFSYM (Qexplicit, "explicit");
 
   /* Marker for function call undo list elements.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]