Browse Source

saner osx path, enable auto-fill in text modes

custom
Bozhidar Batsov 14 years ago
parent
commit
b6fc821508
  1. 5
      init.el
  2. 3
      prelude-editor.el

5
init.el

@ -33,6 +33,11 @@
;;; 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 vendor-dir (concat prelude-dir "vendor"))

3
prelude-editor.el

@ -153,6 +153,9 @@
(setq bookmark-default-file "~/.emacs.d/bookmarks"
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)
;;; prelude-editor.el ends here
Loading…
Cancel
Save