yascroll: disable in org mode, relegate theming to the theme
This commit is contained in:
parent
3765ccff7c
commit
ef668dfc80
@ -504,9 +504,9 @@ targets."
|
|||||||
:defer 1
|
:defer 1
|
||||||
;; :if (not (display-graphic-p))
|
;; :if (not (display-graphic-p))
|
||||||
:custom (yascroll:delay-to-hide nil)
|
:custom (yascroll:delay-to-hide nil)
|
||||||
:custom-face
|
;; :custom-face
|
||||||
(yascroll:thumb-fringe
|
;; (yascroll:thumb-fringe
|
||||||
((t (:background "green3"))))
|
;; ((t (:background "green3"))))
|
||||||
:config
|
:config
|
||||||
(defun yascroll:make-thumb-overlay-fringe (left-or-right)
|
(defun yascroll:make-thumb-overlay-fringe (left-or-right)
|
||||||
"Make thumb overlay on the LEFT-OR-RIGHT fringe."
|
"Make thumb overlay on the LEFT-OR-RIGHT fringe."
|
||||||
@ -524,6 +524,7 @@ targets."
|
|||||||
(overlay-put overlay 'window (selected-window))
|
(overlay-put overlay 'window (selected-window))
|
||||||
(overlay-put overlay 'priority yascroll:priority)
|
(overlay-put overlay 'priority yascroll:priority)
|
||||||
overlay))
|
overlay))
|
||||||
|
(add-to-list 'yascroll:disabled-modes 'org-mode)
|
||||||
(global-yascroll-bar-mode 1))
|
(global-yascroll-bar-mode 1))
|
||||||
|
|
||||||
;; parentheses settingses
|
;; parentheses settingses
|
||||||
|
Loading…
Reference in New Issue
Block a user