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
84b28888
Commit
84b28888
authored
Oct 26, 2010
by
Eli Zaretskii
Browse files
cmds.c: (internal_self_insert): Don't insert for negative arguments.
parent
2e35f1a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/ChangeLog
src/ChangeLog
+1
-1
src/cmds.c
src/cmds.c
+1
-1
No files found.
src/ChangeLog
View file @
84b28888
2010-10-26 Eli Zaretskii <eliz@gnu.org>
* cmds.c (internal_self_insert): Don't insert if argument N is
zero. (Bug#7281)
zero
or negative
. (Bug#7281)
2010-10-26 Jan Djärv <jan.h.d@swipnet.se>
...
...
src/cmds.c
View file @
84b28888
...
...
@@ -474,7 +474,7 @@ internal_self_insert (int c, EMACS_INT n)
insert_and_inherit
(
strn
,
p
-
strn
);
SAFE_FREE
();
}
else
if
(
n
)
else
if
(
n
>
0
)
insert_and_inherit
(
str
,
len
);
if
((
CHAR_TABLE_P
(
Vauto_fill_chars
)
...
...
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