From 2548e2ccbaf5da03b1158097d86f3196799f09ef Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 10 Dec 2017 12:59:29 +0100 Subject: Set scroll bar mode based on platform --- emacs.d/init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index 5aaacb8..aaa136f 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -7,10 +7,12 @@ (setenv "PATH" (concat (getenv "PATH") ":/usr/local/bin")) (setq exec-path (append exec-path '("/usr/local/bin"))) (setq dired-listing-switches "-al") + (scroll-bar-mode nil) (global-set-key [home] 'move-beginning-of-line) (global-set-key [end] 'move-end-of-line)) ((or (equal system-type 'gnu/linux) (equal system-type 'gnu/kfreebsd)) - (setq dired-listing-switches "-al --time-style=long-iso"))) + (setq dired-listing-switches "-al --time-style=long-iso") + (scroll-bar-mode (quote right)))) (setq-default gc-cons-threshold 10000000 @@ -207,7 +209,6 @@ '(quack-pretty-lambda-p t) '(quack-run-scheme-always-prompts-p nil) '(savehist-mode t) - '(scroll-bar-mode nil) '(scroll-conservatively 5) '(send-mail-function (quote sendmail-send-it)) '(show-paren-mode t) -- cgit v1.2.1