Variable: window-resize-pixelwise

window-resize-pixelwise is a customizable variable defined in window.c.

Value

nil

Documentation

Non-nil means resize windows pixelwise.

This currently affects the functions: split-window, maximize-window, minimize-window, fit-window-to-buffer and fit-frame-to-buffer(var)/fit-frame-to-buffer(fun), and all functions that symmetrically resize a parent window.

Note that when a frame's pixel size is not a multiple of the frame's character size, at least one window may get resized pixelwise even if this option is nil.

This variable was added, or its default value changed, in Emacs 24.4.

View in manual

Probably introduced at or before Emacs version 24.4.

Source Code

// Defined in /usr/src/emacs/src/window.c
  DEFVAR_BOOL ("window-resize-pixelwise", window_resize_pixelwise,
	       doc: /*  Non-nil means resize windows pixelwise.
This currently affects the functions: `split-window', `maximize-window',
`minimize-window', `fit-window-to-buffer' and `fit-frame-to-buffer', and
all functions that symmetrically resize a parent window.

Note that when a frame's pixel size is not a multiple of the
frame's character size, at least one window may get resized
pixelwise even if this option is nil.  */);