Only set scrollbar in GUIs.

This commit is contained in:
tastytea 2019-03-22 02:59:35 +01:00
parent b35e64f966
commit 660218da8c
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file. ;;; init.el --- tastytea's Emacs init file.
;;; Time-stamp: <2019-03-22 02:55:57 CET> ;;; Time-stamp: <2019-03-22 02:59:31 CET>
;;; Commentary: ;;; Commentary:
;;; I am using this file with Emacs 26, but most of it will probably work with ;;; I am using this file with Emacs 26, but most of it will probably work with
@ -130,7 +130,8 @@
(setq mouse-yank-at-point t) (setq mouse-yank-at-point t)
;; Put scrollbar to the right side ;; Put scrollbar to the right side
(set-scroll-bar-mode 'right) (if (display-graphic-p)
(set-scroll-bar-mode 'right))
;;;;;;;;;;;;;;;;;;;; Keybindings ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;; Keybindings ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Scroll in other window ;; Scroll in other window
@ -596,6 +597,5 @@
;; Set garbage collection threshold to 2 MiB ;; Set garbage collection threshold to 2 MiB
(setq gc-cons-threshold (* 2 1024 1024)) (setq gc-cons-threshold (* 2 1024 1024))
(provide 'init) (provide 'init)
;;; init.el ends here ;;; init.el ends here

View File

@ -1,2 +1,2 @@
127.0.0.1:51313 32580 127.0.0.1:51313 10599
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh