aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/window.c b/src/window.c
index e123b89aae3..2ed83f4627e 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2867,20 +2867,11 @@ resize_root_window (Lisp_Object window, Lisp_Object delta,
2867 horizontal, ignore, pixelwise); 2867 horizontal, ignore, pixelwise);
2868} 2868}
2869 2869
2870/* Placeholder used by temacs -nw before window.el is loaded. */
2871DEFUN ("window--sanitize-window-sizes", Fwindow__sanitize_window_sizes,
2872 Swindow__sanitize_window_sizes, 2, 2, 0,
2873 doc: /* */
2874 attributes: const)
2875 (Lisp_Object frame, Lisp_Object horizontal)
2876{
2877 return Qnil;
2878}
2879
2880Lisp_Object 2870Lisp_Object
2881sanitize_window_sizes (Lisp_Object frame, Lisp_Object horizontal) 2871sanitize_window_sizes (Lisp_Object frame, Lisp_Object horizontal)
2882{ 2872{
2883 return call2 (Qwindow__sanitize_window_sizes, frame, horizontal); 2873 if (!NILP (Fsymbol_function (Qwindow__sanitize_window_sizes)))
2874 return call1 (Qwindow__sanitize_window_sizes, horizontal);
2884} 2875}
2885 2876
2886 2877
@@ -7576,7 +7567,6 @@ displayed after a scrolling operation to be somewhat inaccurate. */);
7576 defsubr (&Sset_window_display_table); 7567 defsubr (&Sset_window_display_table);
7577 defsubr (&Snext_window); 7568 defsubr (&Snext_window);
7578 defsubr (&Sprevious_window); 7569 defsubr (&Sprevious_window);
7579 defsubr (&Swindow__sanitize_window_sizes);
7580 defsubr (&Sget_buffer_window); 7570 defsubr (&Sget_buffer_window);
7581 defsubr (&Sdelete_other_windows_internal); 7571 defsubr (&Sdelete_other_windows_internal);
7582 defsubr (&Sdelete_window_internal); 7572 defsubr (&Sdelete_window_internal);