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
0e7a5039
Commit
0e7a5039
authored
Sep 20, 2006
by
Kim F. Storm
Browse files
(line-move-partial): Call pos-visible-in-window-p with
position t instead of trying both window-end and window-end - 1.
parent
120b7781
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
lisp/simple.el
lisp/simple.el
+3
-5
No files found.
lisp/simple.el
View file @
0e7a5039
...
...
@@ -3496,11 +3496,9 @@ Outline mode sets this."
(>= rbot (frame-char-height))
(<= ypos (- (frame-char-height))))
(unless lh
(let* ((wend (window-end nil t))
(evis (or (pos-visible-in-window-p wend nil t)
(pos-visible-in-window-p (1- wend) nil t))))
(setq rbot (nth 3 evis)
vpos (nth 5 evis))))
(let ((wend (pos-visible-in-window-p t nil t)))
(setq rbot (nth 3 wend)
vpos (nth 5 wend))))
(cond
;; If last line of window is fully visible, move forward.
((or (null rbot) (= rbot 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