Variable: hs-indentation-respect-end-block

hs-indentation-respect-end-block is a customizable and buffer-local variable defined in hideshow.el.gz.

Documentation

If non-nil, the end of the block will not be hidden.

This only has effect if hs-indentation-mode(var)/hs-indentation-mode(fun) is enabled.

NOTE: For some modes, enabling this may result in hiding wrong parts of the buffer. If this happens, enable this only for some modes (usually using add-hook).

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

View in manual

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
;; Used in `hs-indentation-mode'
(defcustom hs-indentation-respect-end-block nil
  "If non-nil, the end of the block will not be hidden.
This only has effect if `hs-indentation-mode' is enabled.

NOTE: For some modes, enabling this may result in hiding wrong parts of
the buffer.  If this happens, enable this only for some modes (usually
using `add-hook')."
  :type 'boolean
  :local t
  :version "31.1")