saner osx path, enable auto-fill in text modes
This commit is contained in:
parent
c7ba5e4b27
commit
b6fc821508
2 changed files with 8 additions and 0 deletions
5
init.el
5
init.el
|
@ -33,6 +33,11 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
;; on OS X Emacs doesn't use the shell PATH
|
||||||
|
;; if you're using homebrew modifying the PATH is essential
|
||||||
|
(if (string= system-type "darwin")
|
||||||
|
(push "/usr/local/bin" exec-path))
|
||||||
|
|
||||||
(defvar prelude-dir "~/.emacs.d/")
|
(defvar prelude-dir "~/.emacs.d/")
|
||||||
(defvar vendor-dir (concat prelude-dir "vendor"))
|
(defvar vendor-dir (concat prelude-dir "vendor"))
|
||||||
|
|
||||||
|
|
|
@ -153,6 +153,9 @@
|
||||||
(setq bookmark-default-file "~/.emacs.d/bookmarks"
|
(setq bookmark-default-file "~/.emacs.d/bookmarks"
|
||||||
bookmark-save-flag 1)
|
bookmark-save-flag 1)
|
||||||
|
|
||||||
|
;; enabled auto-fill mode in text-mode and all related modes
|
||||||
|
(add-hook 'text-mode-hook 'turn-on-auto-fill)
|
||||||
|
|
||||||
(provide 'prelude-editor)
|
(provide 'prelude-editor)
|
||||||
|
|
||||||
;;; prelude-editor.el ends here
|
;;; prelude-editor.el ends here
|
||||||
|
|
Loading…
Reference in a new issue