aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorStefan Kangas2022-07-31 01:44:22 +0200
committerStefan Kangas2022-07-31 01:44:22 +0200
commit5b29f8cd98c014b4b3e5844ef128ba97e65ea036 (patch)
tree90475b7bdcae4146ce8b4c9ce11d979ed00ba600 /src/window.c
parenta3d974d59f4c352724f5562f4cc53e8a8f6e8cab (diff)
downloademacs-5b29f8cd98c014b4b3e5844ef128ba97e65ea036.tar.gz
emacs-5b29f8cd98c014b4b3e5844ef128ba97e65ea036.zip
Delete redisplay-end-trigger-functions and related defuns
This variable and related functions have been obsolete since 23.1. The last things to depend on this (fast-lock.el and lazy-lock.el) were recently removed. * src/dispextern.h (struct it): Delete field 'redisplay_end_trigger_charpos'. * src/window.c (Fwindow_redisplay_end_trigger) (Fset_window_redisplay_end_trigger): Delete defuns and corresponding defsubrs for functions obsolete since 23.1. * src/window.h (wset_redisplay_end_trigger): Delete function. (GCALIGNED_STRUCT): Delete 'redisplay_end_trigger'. * src/xdisp.c (run_redisplay_end_trigger_hook): Delete function. (syms_of_xdisp) <redisplay_end_trigger_functions>: Delete variable obsolete since 23.1. (init_iterator, next_element_from_buffer): Don't run or set above deleted hook variable. * lisp/subr.el: Delete obsoletion definitions for above deleted defuns and variable. * doc/lispref/hooks.texi (Standard Hooks): * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): * lisp/loadhist.el (unload-feature-special-hooks): Don't mention above deleted variable. * admin/coccinelle/window.cocci: Adjust for above changes.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/window.c b/src/window.c
index 33a1b8a4bf4..afb8f75537b 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1300,31 +1300,6 @@ window so that the location of point moves off-window. */)
1300 return set_window_hscroll (decode_live_window (window), XFIXNUM (ncol)); 1300 return set_window_hscroll (decode_live_window (window), XFIXNUM (ncol));
1301} 1301}
1302 1302
1303DEFUN ("window-redisplay-end-trigger", Fwindow_redisplay_end_trigger,
1304 Swindow_redisplay_end_trigger, 0, 1, 0,
1305 doc: /* Return WINDOW's redisplay end trigger value.
1306WINDOW must be a live window and defaults to the selected one.
1307See `set-window-redisplay-end-trigger' for more information. */)
1308 (Lisp_Object window)
1309{
1310 return decode_live_window (window)->redisplay_end_trigger;
1311}
1312
1313DEFUN ("set-window-redisplay-end-trigger", Fset_window_redisplay_end_trigger,
1314 Sset_window_redisplay_end_trigger, 2, 2, 0,
1315 doc: /* Set WINDOW's redisplay end trigger value to VALUE.
1316WINDOW must be a live window and defaults to the selected one. VALUE
1317should be a buffer position (typically a marker) or nil. If it is a
1318buffer position, then if redisplay in WINDOW reaches a position beyond
1319VALUE, the functions in `redisplay-end-trigger-functions' are called
1320with two arguments: WINDOW, and the end trigger value. Afterwards the
1321end-trigger value is reset to nil. */)
1322 (register Lisp_Object window, Lisp_Object value)
1323{
1324 wset_redisplay_end_trigger (decode_live_window (window), value);
1325 return value;
1326}
1327
1328/* Test if the character at column X, row Y is within window W. 1303/* Test if the character at column X, row Y is within window W.
1329 If it is not, return ON_NOTHING; 1304 If it is not, return ON_NOTHING;
1330 if it is on the window's vertical divider, return 1305 if it is on the window's vertical divider, return
@@ -8640,8 +8615,6 @@ displayed after a scrolling operation to be somewhat inaccurate. */);
8640 defsubr (&Swindow_body_width); 8615 defsubr (&Swindow_body_width);
8641 defsubr (&Swindow_hscroll); 8616 defsubr (&Swindow_hscroll);
8642 defsubr (&Sset_window_hscroll); 8617 defsubr (&Sset_window_hscroll);
8643 defsubr (&Swindow_redisplay_end_trigger);
8644 defsubr (&Sset_window_redisplay_end_trigger);
8645 defsubr (&Swindow_mode_line_height); 8618 defsubr (&Swindow_mode_line_height);
8646 defsubr (&Swindow_header_line_height); 8619 defsubr (&Swindow_header_line_height);
8647 defsubr (&Swindow_tab_line_height); 8620 defsubr (&Swindow_tab_line_height);