From: Martin Rudalics Date: Mon, 10 Sep 2018 12:07:05 +0000 (+0200) Subject: Fix last change of 'run_window_size_change_functions' X-Git-Tag: emacs-27.0.90~4447 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=80a35ff2774b297baf0f12f02e1d8b521de640d5;p=emacs.git 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. --- 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);