Function: hs-hide-initial-comment-block

hs-hide-initial-comment-block is an interactive and byte-compiled function defined in hideshow.el.gz.

Signature

(hs-hide-initial-comment-block)

Documentation

Hide the first block of comments in a file.

This can be useful if you have huge RCS logs in those comments.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defun hs-hide-initial-comment-block ()
  "Hide the first block of comments in a file.
This can be useful if you have huge RCS logs in those comments."
  (interactive)
  (hs-life-goes-on
   (goto-char (point-min))
   (skip-chars-forward " \t\n\f")
   (when-let* ((c-reg (funcall hs-inside-comment-predicate)))
     (hs-hide-block-at-point c-reg))))