Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4d94dd9a
Commit
4d94dd9a
authored
Feb 13, 2006
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(internal_self_insert): Handle weird auto-fill-function.
parent
3715419e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/cmds.c
src/cmds.c
+2
-1
No files found.
src/ChangeLog
View file @
4d94dd9a
2006-02-12 Richard M. Stallman <rms@gnu.org>
* cmds.c (internal_self_insert): Handle weird auto-fill-function.
2006-02-11 Eli Zaretskii <eliz@gnu.org>
* keyboard.c (Venable_disabled_menus_and_buttons): New variable.
...
...
src/cmds.c
View file @
4d94dd9a
...
...
@@ -528,7 +528,8 @@ internal_self_insert (c, noautofill)
justification, if any, know where the end is going to be. */
SET_PT_BOTH
(
PT
-
1
,
PT_BYTE
-
1
);
tem
=
call0
(
current_buffer
->
auto_fill_function
);
if
(
c
==
'\n'
)
/* Test PT < ZV in case the auto-fill-function is strange. */
if
(
c
==
'\n'
&&
PT
<
ZV
)
SET_PT_BOTH
(
PT
+
1
,
PT_BYTE
+
1
);
if
(
!
NILP
(
tem
))
hairy
=
2
;
...
...
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