aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmds.c
diff options
context:
space:
mode:
authorPhillip Lord2015-12-03 21:27:33 +0000
committerPhillip Lord2015-12-03 21:27:33 +0000
commiteaa1fd6dbff8346eb38485de5ebf0fbfacf374d9 (patch)
tree3582bd8b840f066f6b1435ea9cf73cbe48fc3d0d /src/cmds.c
parent7d611e25ffdfb31e321d4612b282542690f26534 (diff)
downloademacs-eaa1fd6dbff8346eb38485de5ebf0fbfacf374d9.tar.gz
emacs-eaa1fd6dbff8346eb38485de5ebf0fbfacf374d9.zip
Externalize some symbols in undo-auto
* doc/lispref/text.texi: Update symbols. * lisp/simple.el (undo-auto--amalgamate, undo-auto--current-boundary-timer): Make symbols public. * src/cmds.c (Fself_insert_command,Fdelete_char): Call updated symbol.
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 167ebb74302..650b4628c32 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -233,7 +233,7 @@ because it respects values of `delete-active-region' and `overwrite-mode'. */)
233 CHECK_NUMBER (n); 233 CHECK_NUMBER (n);
234 234
235 if (eabs (XINT (n)) < 2) 235 if (eabs (XINT (n)) < 2)
236 call0 (Qundo_auto__amalgamate); 236 call0 (Qundo_auto_amalgamate);
237 237
238 pos = PT + XINT (n); 238 pos = PT + XINT (n);
239 if (NILP (killflag)) 239 if (NILP (killflag))
@@ -279,7 +279,7 @@ At the end, it runs `post-self-insert-hook'. */)
279 error ("Negative repetition argument %"pI"d", XINT (n)); 279 error ("Negative repetition argument %"pI"d", XINT (n));
280 280
281 if (XFASTINT (n) < 2) 281 if (XFASTINT (n) < 2)
282 call0 (Qundo_auto__amalgamate); 282 call0 (Qundo_auto_amalgamate);
283 283
284 /* Barf if the key that invoked this was not a character. */ 284 /* Barf if the key that invoked this was not a character. */
285 if (!CHARACTERP (last_command_event)) 285 if (!CHARACTERP (last_command_event))
@@ -494,7 +494,7 @@ internal_self_insert (int c, EMACS_INT n)
494void 494void
495syms_of_cmds (void) 495syms_of_cmds (void)
496{ 496{
497 DEFSYM (Qundo_auto__amalgamate, "undo-auto--amalgamate"); 497 DEFSYM (Qundo_auto_amalgamate, "undo-auto-amalgamate");
498 DEFSYM (Qundo_auto__this_command_amalgamating, 498 DEFSYM (Qundo_auto__this_command_amalgamating,
499 "undo-auto--this-command-amalgamating"); 499 "undo-auto--this-command-amalgamating");
500 500