From 80a35ff2774b297baf0f12f02e1d8b521de640d5 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Mon, 10 Sep 2018 14:07:05 +0200 Subject: [PATCH] Fix last change of 'run_window_size_change_functions' * src/window.c (run_window_size_change_functions): Fix two type mixups in last change. Reported by Michael Albinus on emacs-devel. --- src/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window.c b/src/window.c index b81469b9d69..6cdc52f90e6 100644 --- a/src/window.c +++ b/src/window.c @@ -3470,8 +3470,8 @@ run_window_size_change_functions (Lisp_Object frame) with FRAME as its argument and as such oblivious to the window checked below. */ if (window_size_changed (XWINDOW (window)) - && !Fmemq (buffer, buffers) - && Flocal_variable_p (Qwindow_size_change_functions, buffer)) + && !NILP (Flocal_variable_p (Qwindow_size_change_functions, buffer)) + && NILP (Fmemq (buffer, buffers))) { Lisp_Object locals = Fbuffer_local_value (Qwindow_size_change_functions, buffer); -- 2.39.2