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

View File

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