/* Hook to run when window config changes. */
static Lisp_Object Qwindow_configuration_change_hook;
-/* If non-nil, run_window_configuration_change_hook does nothing. */
-Lisp_Object inhibit_window_configuration_change_hook;
-
/* Used by the function window_scroll_pixel_based */
static int window_scroll_pixel_based_preserve_x;
static int window_scroll_pixel_based_preserve_y;
= Fdefault_value (Qwindow_configuration_change_hook);
XSETFRAME (frame, f);
- if (NILP (Vrun_hooks) || !NILP (inhibit_window_configuration_change_hook))
+ if (NILP (Vrun_hooks) || !NILP (inhibit_lisp_code))
return;
/* Use the right buffer. Matters when running the local hooks. */
window_scroll_preserve_hpos = -1;
window_scroll_preserve_vpos = -1;
- inhibit_window_configuration_change_hook = Qnil;
-
DEFVAR_LISP ("temp-buffer-show-function", Vtemp_buffer_show_function,
doc: /* Non-nil means call as function to display a help buffer.
The function is called with one argument, the buffer to be displayed.