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 58fa5d8: C


From: Phillip Lord
Subject: [Emacs-diffs] fix/no-undo-boundary-on-secondary-buffer-change 58fa5d8: Change name of undo--auto-post-command.
Date: Wed, 21 Oct 2015 19:26:37 +0000

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

    Change name of undo--auto-post-command.
    
    The new name reflects function rather than timing.
---
 lisp/simple.el |    2 +-
 src/keyboard.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/simple.el b/lisp/simple.el
index 9c1871d..ff8984d 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2846,7 +2846,7 @@ default values.
 
 See also `undo--buffer-undoably-changed'.")
 
-(defun undo--auto-post-command ()
+(defun undo--auto-add-boundary ()
   "Add an `undo-boundary' is appropriate buffers."
   (unless (eq buffer-undo-list t)
     (undo--auto-boundary
diff --git a/src/keyboard.c b/src/keyboard.c
index 9117f25..f112036 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1520,7 +1520,7 @@ command_loop_1 (void)
 
       safe_run_hooks (Qpost_command_hook);
 
-      call0 (Qundo__auto_post_command);
+      call0 (Qundo__auto_add_boundary);
 
       /* If displaying a message, resize the echo area window to fit
         that message's size exactly.  */
@@ -11089,7 +11089,7 @@ syms_of_keyboard (void)
   DEFSYM (Qpost_command_hook, "post-command-hook");
 
   DEFSYM (Qundo__this_command_amalgamating, "undo--this-command-amalgamating");
-  DEFSYM (Qundo__auto_post_command, "undo--auto-post-command");
+  DEFSYM (Qundo__auto_add_boundary, "undo--auto-add-boundary");
 
   DEFSYM (Qdeferred_action_function, "deferred-action-function");
   DEFSYM (Qdelayed_warnings_hook, "delayed-warnings-hook");



reply via email to

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