disable scroll-bar-mode only when graphic
This commit is contained in:
parent
801a020032
commit
626606ffbe
1 changed files with 2 additions and 1 deletions
3
init.org
3
init.org
|
@ -825,7 +825,8 @@ screen.
|
||||||
(interactive)
|
(interactive)
|
||||||
(menu-bar-mode 1)
|
(menu-bar-mode 1)
|
||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
(scroll-bar-mode -1))
|
(if (display-graphic-p)
|
||||||
|
(scroll-bar-mode -1)))
|
||||||
|
|
||||||
(add-hook 'after-make-frame-functions #'snm-display-tweaks)
|
(add-hook 'after-make-frame-functions #'snm-display-tweaks)
|
||||||
;; run it in the current frame, because the hooks have already fired
|
;; run it in the current frame, because the hooks have already fired
|
||||||
|
|
Loading…
Add table
Reference in a new issue