This commit is contained in:
larstvei 2024-09-20 23:51:28 +02:00
parent 936f79e5db
commit ea42c54438

View File

@ -11,7 +11,7 @@
(defgroup center-content () (defgroup center-content ()
"Center buffer content." "Center buffer content."
:group 'convinience :group 'convenience
:prefix "center-content-") :prefix "center-content-")
(defcustom center-content-horizontal t (defcustom center-content-horizontal t
@ -117,7 +117,7 @@
;; Remove vertical centering overlay ;; Remove vertical centering overlay
(when (overlayp center-content--vertical-overlay) (when (overlayp center-content--vertical-overlay)
(delete-overlay center-content--vertical-overlay) (delete-overlay center-content--vertical-overlay)
(setq center-content--horizontal-overlay nil)) (setq center-content--vertical-overlay nil))
;; Restore the header-line face remapping ;; Restore the header-line face remapping
(when center-content--header-line-face-remap-cookie (when center-content--header-line-face-remap-cookie
(face-remap-remove-relative center-content--header-line-face-remap-cookie) (face-remap-remove-relative center-content--header-line-face-remap-cookie)