diff options
author | David Robillard <d@drobilla.net> | 2017-12-10 12:59:29 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-10 14:37:18 +0100 |
commit | 2548e2ccbaf5da03b1158097d86f3196799f09ef (patch) | |
tree | b882782e94c08b0566a2031618e2a8124fecb57c | |
parent | 0bd552a47faafa17a55f56f152dbe09ab2283c2c (diff) | |
download | dotfiles-2548e2ccbaf5da03b1158097d86f3196799f09ef.tar.gz dotfiles-2548e2ccbaf5da03b1158097d86f3196799f09ef.tar.bz2 dotfiles-2548e2ccbaf5da03b1158097d86f3196799f09ef.zip |
Set scroll bar mode based on platform
-rw-r--r-- | emacs.d/init.el | 5 |
1 files 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) |