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
05ba02eb
Commit
05ba02eb
authored
Feb 03, 1992
by
Jim Blandy
Browse files
*** empty log message ***
parent
b86e8615
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
src/xdisp.c
src/xdisp.c
+13
-1
No files found.
src/xdisp.c
View file @
05ba02eb
...
...
@@ -407,6 +407,13 @@ redisplay ()
&&
(
XFASTINT
(
w
->
last_modified
)
>=
MODIFF
||
(
beg_unchanged
>=
tlbufpos
-
1
&&
GPT
>=
tlbufpos
/* If selective display, can't optimize
if the changes start at the beginning of the line. */
&&
((
XTYPE
(
current_buffer
->
selective_display
)
==
Lisp_Int
&&
XINT
(
current_buffer
->
selective_display
)
>
0
?
(
beg_unchanged
>=
tlbufpos
&&
GPT
>
tlbufpos
)
:
1
))
&&
end_unchanged
>=
tlendpos
&&
Z
-
GPT
>=
tlendpos
)))
{
...
...
@@ -1081,7 +1088,12 @@ try_window_id (window)
/* If about to start displaying at the beginning of a continuation line,
really start with previous screen line, in case it was not
continued when last redisplayed */
if
(
bp
.
contin
&&
bp
.
bufpos
-
1
==
beg_unchanged
&&
vpos
>
0
)
if
((
bp
.
contin
&&
bp
.
bufpos
-
1
==
beg_unchanged
&&
vpos
>
0
)
||
/* Likewise if we have to worry about selective display. */
(
XTYPE
(
current_buffer
->
selective_display
)
==
Lisp_Int
&&
XINT
(
current_buffer
->
selective_display
)
>
0
&&
bp
.
bufpos
-
1
==
beg_unchanged
&&
vpos
>
0
))
{
bp
=
*
vmotion
(
bp
.
bufpos
,
-
1
,
width
,
hscroll
,
window
);
--
vpos
;
...
...
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