summaryrefslogtreecommitdiffstats
path: root/emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d')
-rw-r--r--emacs.d/init.el16
1 files changed, 9 insertions, 7 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 74c881a..625c50b 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -2,12 +2,15 @@
(add-to-list 'load-path (expand-file-name "~/.emacs.d/site-lisp"))
-;; Fix paths and key bindings on OSX
-(when (equal system-type 'darwin)
- (setenv "PATH" (concat (getenv "PATH") ":/usr/local/bin"))
- (setq exec-path (append exec-path '("/usr/local/bin")))
- (global-set-key [home] 'move-beginning-of-line)
- (global-set-key [end] 'move-end-of-line))
+;; Platform specific configuration
+(cond ((equal system-type 'darwin)
+ (setenv "PATH" (concat (getenv "PATH") ":/usr/local/bin"))
+ (setq exec-path (append exec-path '("/usr/local/bin")))
+ (setq dired-listing-switches "-al")
+ (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-default
gc-cons-threshold 10000000
@@ -115,7 +118,6 @@
(quote
("498d05dd285960bd58847dec6e3035978dd8657786ac519bea9c6498112251b3" default)))
'(delete-old-versions t)
- '(dired-listing-switches "-al --time-style=long-iso")
'(dired-omit-files "^\\.?#\\|^\\.$\\|^\\.\\.\\|^\\..*$")
'(diredp-hide-details-initially-flag t)
'(diredp-wrap-around-flag nil)