Function: emerge-save-variables
emerge-save-variables is a byte-compiled function defined in
emerge.el.gz.
Signature
(emerge-save-variables VARS)
Source Code
;; Defined in /usr/src/emacs/lisp/vc/emerge.el.gz
;;; Functions for saving and restoring a batch of variables
;; These functions save (get the values of) and restore (set the values of)
;; a list of variables. The argument is a list of symbols (the names of
;; the variables). A list element can also be a list of two functions,
;; the first of which (when called with no arguments) gets the value, and
;; the second (when called with a value as an argument) sets the value.
;; A "function" is anything that funcall can handle as an argument.
(defun emerge-save-variables (vars)
(mapcar (lambda (v) (if (symbolp v)
(symbol-value v)
(funcall (car v))))
vars))