mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor(org): remove unused overlay cleanup code
No longer used sincec92937f89
. Refc92937f890
Ref #5524
This commit is contained in:
@ -1,9 +1,6 @@
|
||||
;;; lang/org/autoload/contrib-present.el -*- lexical-binding: t; -*-
|
||||
;;;###if (featurep! +present)
|
||||
|
||||
(defvar +org-present--overlays nil)
|
||||
|
||||
|
||||
;;
|
||||
;;; Helpers
|
||||
|
||||
@ -41,12 +38,6 @@
|
||||
org-tree-slide-mode
|
||||
t))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +org-present-remove-overlays-h ()
|
||||
"TODO"
|
||||
(mapc #'delete-overlay +org-present--overlays)
|
||||
(remove-from-invisibility-spec '(+org-present)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +org-present-detect-slide-h ()
|
||||
"TODO"
|
||||
@ -89,7 +80,6 @@
|
||||
(text-scale-set 0)
|
||||
(set-window-fringes nil fringe-mode fringe-mode)
|
||||
(org-clear-latex-preview)
|
||||
(+org-present-remove-overlays-h)
|
||||
(org-remove-inline-images)
|
||||
(org-mode)))
|
||||
(redraw-display)))
|
||||
|
Reference in New Issue
Block a user