Function: hif-hide-line

hif-hide-line is a byte-compiled function defined in hideif.el.gz.

Signature

(hif-hide-line POINT)

Documentation

Hide the line containing POINT.

Does nothing if hide-ifdef-lines is nil.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideif.el.gz
;; A bit slimy.

(defun hif-hide-line (point)
  "Hide the line containing POINT.
Does nothing if `hide-ifdef-lines' is nil."
  (when hide-ifdef-lines
    (save-excursion
      (goto-char point)
      (hide-ifdef-region-internal
       (line-beginning-position) (progn (hif-end-of-line) (point))))))