Skip to main content

Questions related to narrowing (restricting) the editable area of a buffer.

Narrowing a buffer temporarily focuses editing on a portion of the content.

Emacs provides the narrow-to-region command (and several related commands) for setting the buffer restriction. These commands temporarily make content outside of the specified region inaccessible and hidden. The restriction can be removed using widen.