Browse Source

Merge branch 'master' of github.com:10sr/dotfiles

pull/1/head
10sr 11 years ago
parent
commit
21a1ac3411
1 changed files with 5 additions and 7 deletions
  1. +5
    -7
      emacs.el

+ 5
- 7
emacs.el View File

@@ -687,9 +687,7 @@ found, otherwise returns nil."
"https://raw.github.com/10sr/emacs-lisp/master/remember-major-modes-mode.el")
(require 'remember-major-modes-mode nil t)
(remember-major-modes-mode 1)
(add-hook 'after-change-major-mode-hook
'remember-major-modes-remember))

)

;; Detect file type from shebang and set major-mode.
(add-to-list 'interpreter-mode-alist
@@ -1362,10 +1360,10 @@ If called intearctively, find word at point."
(my-x-open (dired-get-filename t t)))

(if (eq window-system 'mac)
(setq dired-listing-switches "-lhFG")
(setq dired-listing-switches "-lhFG --time-style=long-iso")
(setq dired-listing-switches "-lhF")
(setq dired-listing-switches "-lhF --time-style=long-iso")
)
(setq dired-listing-switches "-lhFG")
(setq dired-listing-switches "-lhF")

(put 'dired-find-alternate-file 'disabled nil)
;; when using dired-find-alternate-file
@@ -1431,7 +1429,7 @@ If called intearctively, find word at point."
"https://raw.github.com/10sr/emacs-lisp/master/dired-list-all-mode.el"
t)
(lazy-load-eval 'dired-list-all-mode)
(setq dired-listing-switches "-lhFG")
(setq dired-listing-switches "-lhF")
(add-hook 'dired-mode-hook
(lambda ()
(define-key dired-mode-map "a" 'dired-list-all-mode)


Loading…
Cancel
Save