[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 035e8e4d45 1/9: Remove sanitize_window_sizes
From: |
Paul Eggert |
Subject: |
master 035e8e4d45 1/9: Remove sanitize_window_sizes |
Date: |
Sat, 19 Mar 2022 15:49:03 -0400 (EDT) |
branch: master
commit 035e8e4d4518674304666b89935ad1ba8c351a9b
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>
Remove sanitize_window_sizes
* src/window.c (sanitize_window_sizes): Remove; no-longer-used.
A previous refactoring moved this to Lisp without removing the C code.
---
src/window.c | 9 ---------
src/window.h | 1 -
2 files changed, 10 deletions(-)
diff --git a/src/window.c b/src/window.c
index 59e21f11cb..8f92b46afd 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3181,14 +3181,6 @@ resize_root_window (Lisp_Object window, Lisp_Object
delta,
horizontal, ignore, pixelwise);
}
-void
-sanitize_window_sizes (Lisp_Object horizontal)
-{
- /* Don't burp in temacs -nw before window.el is loaded. */
- if (!NILP (Fsymbol_function (Qwindow__sanitize_window_sizes)))
- call1 (Qwindow__sanitize_window_sizes, horizontal);
-}
-
static Lisp_Object
window_pixel_to_total (Lisp_Object frame, Lisp_Object horizontal)
@@ -8232,7 +8224,6 @@ syms_of_window (void)
DEFSYM (Qwindow__resize_root_window_vertically,
"window--resize-root-window-vertically");
DEFSYM (Qwindow__resize_mini_frame, "window--resize-mini-frame");
- DEFSYM (Qwindow__sanitize_window_sizes, "window--sanitize-window-sizes");
DEFSYM (Qwindow__pixel_to_total, "window--pixel-to-total");
DEFSYM (Qsafe, "safe");
DEFSYM (Qdisplay_buffer, "display-buffer");
diff --git a/src/window.h b/src/window.h
index 141c29e810..94c9b7124f 100644
--- a/src/window.h
+++ b/src/window.h
@@ -1188,7 +1188,6 @@ extern int window_scroll_margin (struct window *, enum
margin_unit);
extern void temp_output_buffer_show (Lisp_Object);
extern void replace_buffer_in_windows (Lisp_Object);
extern void replace_buffer_in_windows_safely (Lisp_Object);
-extern void sanitize_window_sizes (Lisp_Object horizontal);
/* This looks like a setter, but it is a bit special. */
extern void wset_buffer (struct window *, Lisp_Object);
extern bool window_outdated (struct window *);
- master updated (71b8f1fc63 -> ccf4a4fa48), Paul Eggert, 2022/03/19
- master c3c5e50ba4 4/9: Use filenvercmp instead of doing it by hand, Paul Eggert, 2022/03/19
- master abfb76732c 2/9: Remove internal_condition_case_[345], Paul Eggert, 2022/03/19
- master a5cbd98376 3/9: Omit unnecessary code when !HAVE_NATIVE_COMP, Paul Eggert, 2022/03/19
- master 035e8e4d45 1/9: Remove sanitize_window_sizes,
Paul Eggert <=
- master 0fed561042 5/9: Remove unused fns/data and make fns static, Paul Eggert, 2022/03/19
- master 495d8519ca 7/9: Simplify alloc.c static function decls, Paul Eggert, 2022/03/19
- master c11b4758b7 8/9: valid_sp inline fix, Paul Eggert, 2022/03/19
- master c386f7e825 6/9: Make native helper functions static, Paul Eggert, 2022/03/19
- master ccf4a4fa48 9/9: Port to gcc -D EMACS_EXTERN_INLINE, Paul Eggert, 2022/03/19