diff --git a/emacs.el b/emacs.el index 75ee8ee..41b17bc 100644 --- a/emacs.el +++ b/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)