Function: eudc-update-variable

eudc-update-variable is a byte-compiled function defined in eudc.el.gz.

Signature

(eudc-update-variable VAR)

Documentation

Set the value of VAR according to its locals.

If the VAR has a server- or protocol-local value corresponding to the current eudc-server and eudc-protocol then it is set accordingly. Otherwise it is set to its EUDC default binding.

Source Code

;; Defined in /usr/src/emacs/lisp/net/eudc.el.gz
(defun eudc-update-variable (var)
  "Set the value of VAR according to its locals.
If the VAR has a server- or protocol-local value corresponding
to the current `eudc-server' and `eudc-protocol' then it is set
accordingly.  Otherwise it is set to its EUDC default binding."
  (let (val)
    (cond
     ((not (eq 'unbound (setq val (eudc-variable-server-value var))))
      (set var val))
     ((not (eq 'unbound (setq val (eudc-variable-protocol-value var))))
      (set var val))
     ((not (eq 'unbound (setq val (eudc-variable-default-value var))))
      (set var val)))))