Function: hs-life-goes-on
hs-life-goes-on is a macro defined in hideshow.el.gz.
Signature
(hs-life-goes-on &rest BODY)
Documentation
Evaluate BODY forms if variable hs-minor-mode(var)/hs-minor-mode(fun) is non-nil.
In the dynamic context of this macro, case-fold-search is t.
This macro encloses BODY in save-match-data and save-excursion.
Intended to be used for commands.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
;;;; API functions
(defmacro hs-life-goes-on (&rest body)
"Evaluate BODY forms if variable `hs-minor-mode' is non-nil.
In the dynamic context of this macro, `case-fold-search' is t.
This macro encloses BODY in `save-match-data' and `save-excursion'.
Intended to be used for commands."
(declare (debug t))
`(when hs-minor-mode
(let ((case-fold-search t))
(save-match-data
(save-excursion ,@body)))))