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
601bda2e
Commit
601bda2e
authored
Nov 29, 2000
by
Dave Love
Browse files
pos-visible-in-window-p change
parent
01242779
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
lispref/windows.texi
lispref/windows.texi
+8
-6
No files found.
lispref/windows.texi
View file @
601bda2e
...
...
@@ -1202,12 +1202,14 @@ off screen at the next redisplay, then redisplay computes a new window-start
position that works well with point, and thus @var{position} is not used.
@end defun
@defun pos-visible-in-window-p &optional position window
This function returns @code{t} if @var{position} is within the range
of text currently visible on the screen in @var{window}. It returns
@code{nil} if @var{position} is scrolled vertically out of view. The
argument @var{position} defaults to the current position of point;
@var{window}, to the selected window. Here is an example:
@defun pos-visible-in-window-p &optional position window fully
This function returns @code{t} if @var{position} is within the range of
text currently visible on the screen in @var{window}. If @var{fully} is
non-@code{nil}, then locations that are partially obscured are not
considered visible. It returns @code{nil} if @var{position} is scrolled
vertically out of view. The argument @var{position} defaults to the
current position of point; @var{window}, to the selected window. Here
is an example:
@example
@group
...
...
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