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
7c011261
Commit
7c011261
authored
Jul 31, 1993
by
Richard M. Stallman
Browse files
(Fnewline): Disable the "insert one position before"
optimization if it would screw up text property behavior.
parent
49e61c42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/cmds.c
src/cmds.c
+7
-1
No files found.
src/cmds.c
View file @
7c011261
...
@@ -254,7 +254,13 @@ In Auto Fill mode, if no numeric arg, break the preceding line if it's long.")
...
@@ -254,7 +254,13 @@ In Auto Fill mode, if no numeric arg, break the preceding line if it's long.")
flag
=
point
>
BEGV
&&
FETCH_CHAR
(
point
-
1
)
==
'\n'
;
flag
=
point
>
BEGV
&&
FETCH_CHAR
(
point
-
1
)
==
'\n'
;
if
(
flag
)
if
(
flag
)
SET_PT
(
point
-
1
);
/* We cannot use this optimization if properties change
in the vicinity.
??? We need to check for change hook properties, etc. */
#ifdef USE_TEXT_PROPERTIES
if
(
point
-
1
>
BEGV
&&
!
property_change_between_p
(
point
-
2
,
point
))
#endif
SET_PT
(
point
-
1
);
while
(
XINT
(
arg
)
>
0
)
while
(
XINT
(
arg
)
>
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