Function: widen

widen is an interactive function defined in editfns.c.

Signature

(widen)

Documentation

Remove restrictions (narrowing) from current buffer.

This allows the buffer's full text to be seen and edited.

Probably introduced at or before Emacs version 19.20.

Key Bindings

Source Code

// Defined in /usr/src/emacs/src/editfns.c
{
  if (BEG != BEGV || Z != ZV)
    current_buffer->clip_changed = 1;
  BEGV = BEG;
  BEGV_BYTE = BEG_BYTE;
  SET_BUF_ZV_BOTH (current_buffer, Z, Z_BYTE);
  /* Changing the buffer bounds invalidates any recorded current column.  */
  invalidate_current_column ();
  return Qnil;
}