Function: erc-stamp--recover-on-reconnect
erc-stamp--recover-on-reconnect is a byte-compiled function defined in
erc-stamp.el.gz.
Signature
(erc-stamp--recover-on-reconnect)
Documentation
Attempt to restore "last-inserted" snapshots from prior session.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-stamp.el.gz
(defun erc-stamp--recover-on-reconnect ()
"Attempt to restore \"last-inserted\" snapshots from prior session."
(when-let* ((priors (or erc--server-reconnecting erc--target-priors)))
(dolist (var '(erc-timestamp-last-inserted
erc-timestamp-last-inserted-left
erc-timestamp-last-inserted-right
erc-stamp--deferred-date-stamp
erc-stamp--date-stamps))
(when-let* ((existing (alist-get var priors)))
(set var existing)))))