Function: compilation--tear-down-arrow-spec-in-margins
compilation--tear-down-arrow-spec-in-margins is a byte-compiled
function defined in compile.el.gz.
Signature
(compilation--tear-down-arrow-spec-in-margins)
Documentation
Restore compilation-arrow-overlay to not using the margins, which are removed.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
(defun compilation--tear-down-arrow-spec-in-margins ()
"Restore `compilation-arrow-overlay' to not using the margins, which are removed."
(when (overlayp compilation-arrow-overlay)
(overlay-put compilation-arrow-overlay 'before-string nil)
(delete-overlay compilation-arrow-overlay)
(setq compilation-arrow-overlay nil)
(mapc #'compilation--tear-down-margin (get-buffer-window-list nil nil t))
(remove-hook 'change-major-mode-hook
#'compilation--tear-down-arrow-spec-in-margins t)
(remove-hook 'window-buffer-change-functions
#'compilation--set-up-margin t)))