yascroll: disable in org mode, relegate theming to the theme

This commit is contained in:
MitchMarq42 2023-01-04 10:38:57 -09:00
parent 3765ccff7c
commit ef668dfc80

View File

@ -504,9 +504,9 @@ targets."
:defer 1
;; :if (not (display-graphic-p))
:custom (yascroll:delay-to-hide nil)
:custom-face
(yascroll:thumb-fringe
((t (:background "green3"))))
;; :custom-face
;; (yascroll:thumb-fringe
;; ((t (:background "green3"))))
:config
(defun yascroll:make-thumb-overlay-fringe (left-or-right)
"Make thumb overlay on the LEFT-OR-RIGHT fringe."
@ -524,6 +524,7 @@ targets."
(overlay-put overlay 'window (selected-window))
(overlay-put overlay 'priority yascroll:priority)
overlay))
(add-to-list 'yascroll:disabled-modes 'org-mode)
(global-yascroll-bar-mode 1))
;; parentheses settingses