Function: hide-ifdef-region

hide-ifdef-region is a byte-compiled function defined in hideif.el.gz.

Signature

(hide-ifdef-region START END)

Documentation

START is the start of a #if, #elif, or #else form. END is the ending part.

Everything including these lines is made invisible.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideif.el.gz
(defun hide-ifdef-region (start end)
  "START is the start of a #if, #elif, or #else form.  END is the ending part.
Everything including these lines is made invisible."
  (save-excursion
    (goto-char start) (hif-end-of-line) (setq start (point))
    (goto-char end) (hif-end-of-line) (setq end (point))
    (hide-ifdef-region-internal start end)))