]> git.eshelyaron.com Git - emacs.git/commit
New functions '(set-)window-cursor-type'
authorEshel Yaron <me@eshelyaron.com>
Sat, 27 Apr 2024 18:47:34 +0000 (20:47 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 18 May 2024 19:12:31 +0000 (21:12 +0200)
commitb98ffb35251834170bf4baaaa6eba8838ef9a0d1
tree50c4aabaa0447af304b95123c70868100943deb7
parentf7ac86d8fec2f4ebf8311ec1c1cdde3227fbd0df
New functions '(set-)window-cursor-type'

* src/window.h (struct window): Add 'cursor_type' slot.
(wset_cursor_type): New inline function.
* src/xdisp.c (get_window_cursor_type): Consult 'cursor_type'.
* src/window.c (make_window): Initialize 'cursor_type' to t.
(Fset_window_cursor_type, Fwindow_cursor_type): New functions.
(syms_of_window): List their symbols.
* doc/lispref/windows.texi (Window Point): Document them.
* doc/lispref/frames.texi (Cursor Parameters): Mention
new 'set-window-cursor-type'.
* etc/NEWS: Announce new functions.  (Bug#70622)

(cherry picked from commit 3b890bf2bd2fec54433f35d61e30542b3dadb612)
doc/lispref/frames.texi
doc/lispref/windows.texi
etc/NEWS
src/window.c
src/window.h
src/xdisp.c