Function: erc-networks--id-qualifying-update

erc-networks--id-qualifying-update is a byte-compiled function defined in erc-networks.el.gz.

Signature

(erc-networks--id-qualifying-update DEST SOURCE &rest OVERRIDES)

Documentation

Update DEST from SOURCE in place.

Copy slots into DEST from SOURCE and recompute ID. Both SOURCE and DEST must be erc-networks--id objects. OVERRIDES is an optional plist of SLOT VAL pairs.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-networks.el.gz
(defun erc-networks--id-qualifying-update (dest source &rest overrides)
  "Update DEST from SOURCE in place.
Copy slots into DEST from SOURCE and recompute ID.  Both SOURCE
and DEST must be `erc-networks--id' objects.  OVERRIDES is an
optional plist of SLOT VAL pairs."
  (setf (erc-networks--id-qualifying-parts dest)
        (or (plist-get overrides :parts)
            (erc-networks--id-qualifying-parts source))
        (erc-networks--id-qualifying-len dest)
        (or (plist-get overrides :len)
            (erc-networks--id-qualifying-len source))
        (erc-networks--id-symbol dest)
        (or (plist-get overrides :symbol)
            (erc-networks--id-qualifying-init-symbol
             (erc-networks--id-qualifying-parts dest)
             (erc-networks--id-qualifying-len dest)))))