summaryrefslogtreecommitdiff
path: root/src/cmds.c
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@russet.org.uk>2015-12-03 21:27:33 +0000
committerPhillip Lord <phillip.lord@russet.org.uk>2015-12-03 21:27:33 +0000
commiteaa1fd6dbff8346eb38485de5ebf0fbfacf374d9 (patch)
tree3582bd8b840f066f6b1435ea9cf73cbe48fc3d0d /src/cmds.c
parent7d611e25ffdfb31e321d4612b282542690f26534 (diff)
downloademacs-eaa1fd6dbff8346eb38485de5ebf0fbfacf374d9.tar.gz
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'. */)
CHECK_NUMBER (n);
if (eabs (XINT (n)) < 2)
- call0 (Qundo_auto__amalgamate);
+ call0 (Qundo_auto_amalgamate);
pos = PT + XINT (n);
if (NILP (killflag))
@@ -279,7 +279,7 @@ At the end, it runs `post-self-insert-hook'. */)
error ("Negative repetition argument %"pI"d", XINT (n));
if (XFASTINT (n) < 2)
- call0 (Qundo_auto__amalgamate);
+ call0 (Qundo_auto_amalgamate);
/* Barf if the key that invoked this was not a character. */
if (!CHARACTERP (last_command_event))
@@ -494,7 +494,7 @@ internal_self_insert (int c, EMACS_INT n)
void
syms_of_cmds (void)
{
- DEFSYM (Qundo_auto__amalgamate, "undo-auto--amalgamate");
+ DEFSYM (Qundo_auto_amalgamate, "undo-auto-amalgamate");
DEFSYM (Qundo_auto__this_command_amalgamating,
"undo-auto--this-command-amalgamating");