summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-10 12:59:29 +0100
committerDavid Robillard <d@drobilla.net>2017-12-10 14:37:18 +0100
commit2548e2ccbaf5da03b1158097d86f3196799f09ef (patch)
treeb882782e94c08b0566a2031618e2a8124fecb57c
parent0bd552a47faafa17a55f56f152dbe09ab2283c2c (diff)
downloaddotfiles-2548e2ccbaf5da03b1158097d86f3196799f09ef.tar.gz
dotfiles-2548e2ccbaf5da03b1158097d86f3196799f09ef.tar.bz2
dotfiles-2548e2ccbaf5da03b1158097d86f3196799f09ef.zip
Set scroll bar mode based on platform
-rw-r--r--emacs.d/init.el5
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)