瀏覽代碼

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

pull/1/head
10sr 11 年之前
父節點
當前提交
21a1ac3411
共有 1 個檔案被更改,包括 5 行新增7 行删除
  1. +5
    -7
      emacs.el

+ 5
- 7
emacs.el 查看文件

@@ -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…
取消
儲存