diff options
author | Eli Zaretskii <eliz@gnu.org> | 2018-09-30 14:14:59 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-09-30 14:14:59 +0300 |
commit | 8bd48212020ee206b782477ac32b918861bcaf08 (patch) | |
tree | e0f3b1bb8ae2aac091da77e22b06809f5e4adada /lisp/emacs-lisp | |
parent | 6217746dd64b43a2a2b3b66ab50cfbbfc984f36c (diff) | |
download | emacs-8bd48212020ee206b782477ac32b918861bcaf08.tar.gz emacs-8bd48212020ee206b782477ac32b918861bcaf08.tar.bz2 emacs-8bd48212020ee206b782477ac32b918861bcaf08.zip |
Allow 'make-cursor-line-fully-visible' name a function
* src/xdisp.c (cursor_row_fully_visible_p): Handle the case of
make-cursor-line-fully-visible being a function. Accept a 3rd
argument; if non-zero, assume the caller already tested the
conditions for the cursor being fully-visible, and don't
recheck them. All callers changed.
(try_cursor_movement, try_window_id): Call
cursor_row_fully_visible_p instead of testing the value of
make-cursor-line-fully-visible directly.
(syms_of_xdisp) <make-cursor-line-fully-visible>: Update the
doc string. Define a symbol Qmake_cursor_line_fully_visible.
(Bug#32848)
* lisp/cus-start.el (standard): Update the Custom form.
* etc/NEWS: Mention the change in possible values of
'make-cursor-line-fully-visible'.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions