From 3e68b0b22e518e55167ee70425ac0ff97efa35e1 Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Thu, 9 Jun 2022 08:47:42 -0700 Subject: [PATCH] ; * src/window.c (window_body_unit_from_symbol): Use 'EQ' instead of ==. --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.c b/src/window.c index e5666ce38e..dae9a29387 100644 --- a/src/window.c +++ b/src/window.c @@ -1018,7 +1018,7 @@ DEFUN ("window-top-line", Fwindow_top_line, Swindow_top_line, 0, 1, 0, window_body_unit_from_symbol (Lisp_Object unit) { return - (unit == Qremap ? WINDOW_BODY_IN_REMAPPED_CHARS + (EQ (unit, Qremap) ? WINDOW_BODY_IN_REMAPPED_CHARS : NILP (unit) ? WINDOW_BODY_IN_CANONICAL_CHARS : WINDOW_BODY_IN_PIXELS); } -- 2.25.1