Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5d335d4b
Commit
5d335d4b
authored
May 30, 2014
by
Glenn Morris
Browse files
* src/cmds.c (Fself_insert_command): Allow zero repeat count.
Fixes: debbugs:17649
parent
b701ac49
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/ChangeLog
src/ChangeLog
+4
-0
src/cmds.c
src/cmds.c
+2
-2
No files found.
src/ChangeLog
View file @
5d335d4b
2014-05-31 Glenn Morris <rgm@gnu.org>
* cmds.c (Fself_insert_command): Allow zero repeat count. (Bug#17649)
2014-05-30 Paul Eggert <eggert@cs.ucla.edu>
Fix port to 32-bit AIX with xlc (Bug#17598).
...
...
src/cmds.c
View file @
5d335d4b
...
...
@@ -280,8 +280,8 @@ At the end, it runs `post-self-insert-hook'. */)
bool
remove_boundary
=
1
;
CHECK_NUMBER
(
n
);
if
(
XFASTINT
(
n
)
<
1
)
error
(
"N
onposi
tive repetition argument %"
pI
"d"
,
XFASTINT
(
n
));
if
(
XFASTINT
(
n
)
<
0
)
error
(
"N
ega
tive repetition argument %"
pI
"d"
,
XFASTINT
(
n
));
if
(
!
EQ
(
Vthis_command
,
KVAR
(
current_kboard
,
Vlast_command
)))
nonundocount
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment