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
113d9015
Commit
113d9015
authored
Oct 03, 1994
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Frecenter): Don't trigger point-motion hooks.
parent
db03492e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/window.c
src/window.c
+7
-7
No files found.
src/window.c
View file @
113d9015
...
...
@@ -2629,7 +2629,7 @@ redraws with point in the center of the current window.")
{
register
struct
window
*
w
=
XWINDOW
(
selected_window
);
register
int
ht
=
window_internal_height
(
w
);
register
in
t
o
po
int
=
PT
;
struc
t
po
sition
pos
;
Lisp_Object
window
;
if
(
NILP
(
n
))
...
...
@@ -2652,14 +2652,14 @@ redraws with point in the center of the current window.")
if
(
XINT
(
n
)
<
0
)
XSETINT
(
n
,
XINT
(
n
)
+
ht
);
XSETINT
(
n
,
-
XINT
(
n
));
XSET
(
window
,
Lisp_Window
,
w
);
Fvertical_motion
(
n
,
window
);
Fset_marker
(
w
->
start
,
make_number
(
PT
),
w
->
buffer
);
w
->
start_at_line_beg
=
Fbolp
();
pos
=
*
vmotion
(
point
,
-
XINT
(
n
),
window_internal_width
(
w
)
-
1
,
XINT
(
w
->
hscroll
),
window
);
SET_PT
(
opoint
);
Fset_marker
(
w
->
start
,
make_number
(
pos
.
bufpos
),
w
->
buffer
);
w
->
start_at_line_beg
=
((
pos
.
bufpos
==
BEGV
||
FETCH_CHAR
(
pos
.
bufpos
-
1
)
==
'\n'
)
?
Qt
:
Qnil
);
w
->
force_start
=
Qt
;
return
Qnil
;
...
...
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