Function: gnus-save-hidden-threads

gnus-save-hidden-threads is a macro defined in gnus-sum.el.gz.

Signature

(gnus-save-hidden-threads &rest FORMS)

Documentation

Save hidden threads, eval FORMS, and restore the hidden threads.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
;; Saving hidden threads.

(defmacro gnus-save-hidden-threads (&rest forms)
  "Save hidden threads, eval FORMS, and restore the hidden threads."
  (declare (indent 0) (debug t))
  (let ((config (make-symbol "config")))
    `(let ((,config (gnus-hidden-threads-configuration)))
       (unwind-protect
	   (save-excursion
	     ,@forms)
	 (gnus-restore-hidden-threads-configuration ,config)))))