Function: gnus-summary-set-local-parameters
gnus-summary-set-local-parameters is a byte-compiled function defined
in gnus-sum.el.gz.
Signature
(gnus-summary-set-local-parameters GROUP)
Documentation
Go through the local params of GROUP and set all variable specs in that list.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-summary-set-local-parameters (group)
"Go through the local params of GROUP and set all variable specs in that list."
(let ((vars '(quit-config active))) ; Ignore things that aren't
; really variables.
(dolist (elem (gnus-group-find-parameter group))
(and (consp elem) ; Has to be a cons.
(consp (cdr elem)) ; The cdr has to be a list.
(symbolp (car elem)) ; Has to be a symbol in there.
(not (memq (car elem) vars))
(ignore-errors
(push (car elem) vars)
;; Variables like `gnus-show-threads' that are globally
;; bound, if used as group parameters, need to get to be
;; buffer-local, whereas just parameters like `gcc-self',
;; `timestamp', etc. should not be bound as variables.
(if (boundp (car elem))
(set (make-local-variable (car elem)) (eval (nth 1 elem) t))
(eval (nth 1 elem) t)))))))