Function: majutsu-selection--cleanup-overlays-in-buffer

majutsu-selection--cleanup-overlays-in-buffer is a natively compiled function defined in majutsu-selection.el.

Signature

(majutsu-selection--cleanup-overlays-in-buffer BUFFER)

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-selection.el
(defun majutsu-selection--cleanup-overlays-in-buffer (buffer)
  (when (buffer-live-p buffer)
    (with-current-buffer buffer
      (remove-overlays (point-min) (point-max) 'majutsu-selection t)
      (setq majutsu-selection--active-session nil))))