Function: mpc-select-restore
mpc-select-restore is a byte-compiled function defined in mpc.el.gz.
Signature
(mpc-select-restore SELECTION)
Source Code
;; Defined in /usr/src/emacs/lisp/mpc.el.gz
(defun mpc-select-restore (selection)
;; Restore the selection. I.e. move the overlays back to their
;; corresponding location. Actually which overlay is used for what
;; doesn't matter.
(mapc #'delete-overlay mpc-select)
(setq mpc-select nil)
(dolist (elem selection)
;; After an update, some elements may have disappeared.
(goto-char (point-min))
(when (re-search-forward
(concat "^" (regexp-quote elem) "$") nil t)
(mpc-select-make-overlay)))
(when mpc-tag (mpc-tagbrowser-all-select))
(beginning-of-line))