aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmds.c
diff options
context:
space:
mode:
authorMiles Bader2006-02-14 05:54:12 +0000
committerMiles Bader2006-02-14 05:54:12 +0000
commit8ca0206d9420c56dc970535f35e71a28d601b205 (patch)
treec759b5c3d10281861bd3c3772b38bebd625c2419 /src/cmds.c
parent0b125475295ac24db12b28e67d349a0ec0020bd3 (diff)
parentdd60bebe07d9fc5a6954d306269553d09e715de2 (diff)
downloademacs-8ca0206d9420c56dc970535f35e71a28d601b205.tar.gz
emacs-8ca0206d9420c56dc970535f35e71a28d601b205.zip
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-15
Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 66-84) - Update from CVS - rcirc: Add flexible response formatting; Add nick abbrevs - Merge from gnus--rel--5.10 - Update from CVS: man/dired.texi (Tumme): More tumme documentation. - Merge from erc--emacs--0 - Make ERC comply with the new copyright year guidelines. - (rcirc-format-response-string): Fix small bugs - Fix compiler error in erc-dcc.el. * gnus--rel--5.10 (patch 29) - Add sendmail.el and smptmail.el from Emacs tree to contrib/
Diffstat (limited to 'src/cmds.c')
-rw-r--r--src/cmds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmds.c b/src/cmds.c
index e035ef7fd68..72d35b8cefd 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -536,7 +536,8 @@ internal_self_insert (c, noautofill)
536 justification, if any, know where the end is going to be. */ 536 justification, if any, know where the end is going to be. */
537 SET_PT_BOTH (PT - 1, PT_BYTE - 1); 537 SET_PT_BOTH (PT - 1, PT_BYTE - 1);
538 tem = call0 (current_buffer->auto_fill_function); 538 tem = call0 (current_buffer->auto_fill_function);
539 if (c == '\n') 539 /* Test PT < ZV in case the auto-fill-function is strange. */
540 if (c == '\n' && PT < ZV)
540 SET_PT_BOTH (PT + 1, PT_BYTE + 1); 541 SET_PT_BOTH (PT + 1, PT_BYTE + 1);
541 if (!NILP (tem)) 542 if (!NILP (tem))
542 hairy = 2; 543 hairy = 2;