]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix last change of 'run_window_size_change_functions'
authorMartin Rudalics <rudalics@gmx.at>
Mon, 10 Sep 2018 12:07:05 +0000 (14:07 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Mon, 10 Sep 2018 12:07:05 +0000 (14:07 +0200)
* src/window.c (run_window_size_change_functions): Fix two
type mixups in last change.  Reported by Michael Albinus
<michael.albinus@gmx.de> on emacs-devel.

src/window.c

index b81469b9d69b267303e019e4a4348c64c64eedef..6cdc52f90e69af78022aee6321ad1e59fcf1e1ba 100644 (file)
@@ -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);