Enable iscroll-mode always
This commit is contained in:
parent
0762f34755
commit
a23910572a
4
init.el
4
init.el
|
@ -1464,7 +1464,9 @@ successive invocations."
|
|||
"C-c C-d" helpful-at-point))
|
||||
|
||||
(setup (:straight iscroll)
|
||||
(:hook-into text-mode))
|
||||
(:hook-into text-mode ; Ideally, everywhere..
|
||||
prog-mode
|
||||
special-mode))
|
||||
|
||||
(setup (:straight lacarte)
|
||||
(:global "<f10>" lacarte-execute-menu-command))
|
||||
|
|
|
@ -531,7 +531,7 @@ It's called 'require-private' for historical reasons."
|
|||
(when (fboundp mode)
|
||||
(funcall mode -1)))
|
||||
;; enable modes
|
||||
(dolist (mode '(iscroll-mode olivetti-mode))
|
||||
(dolist (mode '(olivetti-mode))
|
||||
(when (fboundp mode)
|
||||
(funcall mode +1))))
|
||||
;; turn off
|
||||
|
@ -543,7 +543,7 @@ It's called 'require-private' for historical reasons."
|
|||
(when (fboundp mode)
|
||||
(funcall mode +1)))
|
||||
;; disable modes
|
||||
(dolist (mode '(olivetti-mode iscroll-mode))
|
||||
(dolist (mode '(olivetti-mode))
|
||||
(when (fboundp mode)
|
||||
(funcall mode -1)))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue