annotate .emacs @ 76:2b2a667092fd

Add nose.el.
author Augie Fackler <durin42@gmail.com>
date Thu, 09 Apr 2009 13:29:13 -0500
parents fd369b708cbe
children 45d7441d0cf2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
1 ;; Augie Fackler's .emacs file
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
2 ; Places I've stolen from:
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
3 ; Karl Fogel: http://svn.red-bean.com/repos/kfogel/trunk
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
4 ; Dave Anderson:
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
5
74
fd369b708cbe Better way of altering load-path, add support for local-to-machine emacs configs.
Augie Fackler <durin42@gmail.com>
parents: 65
diff changeset
6 (add-to-list 'load-path (expand-file-name "~/.elisp"))
0
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
7 ; Better buffer switching and file loading (load first in case we need the
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
8 ; * Messages * buffer)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
9 (require 'ido)
8
6b651c7265f2 Flex matching for ido-mode.
Augie Fackler <durin42@gmail.com>
parents: 7
diff changeset
10 (setq ido-enable-flex-matching t)
0
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
11 (ido-mode t)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
12
19
b5d75594b356 Add support for the ipython-mode stuff and remove vestigial pymacs code.
Augie Fackler <durin42@gmail.com>
parents: 14
diff changeset
13 (require 'python-mode)
b5d75594b356 Add support for the ipython-mode stuff and remove vestigial pymacs code.
Augie Fackler <durin42@gmail.com>
parents: 14
diff changeset
14 (require 'ipython)
b5d75594b356 Add support for the ipython-mode stuff and remove vestigial pymacs code.
Augie Fackler <durin42@gmail.com>
parents: 14
diff changeset
15
0
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
16 (require 'show-wspace)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
17
12
d4d720c4c416 Add mercurial support to emacs. Improve setting of PYTHONPATH in there.
Augie Fackler <durin42@gmail.com>
parents: 8
diff changeset
18 (require 'mercurial)
d4d720c4c416 Add mercurial support to emacs. Improve setting of PYTHONPATH in there.
Augie Fackler <durin42@gmail.com>
parents: 8
diff changeset
19
32
dc1c584707e6 Add some colorized diff stuff to emacs.
Augie Fackler <durin42@gmail.com>
parents: 28
diff changeset
20 ; improved diff mode
dc1c584707e6 Add some colorized diff stuff to emacs.
Augie Fackler <durin42@gmail.com>
parents: 28
diff changeset
21 (require 'diff-mode-)
dc1c584707e6 Add some colorized diff stuff to emacs.
Augie Fackler <durin42@gmail.com>
parents: 28
diff changeset
22
34
1c70c9393f45 Midnight mode.
Augie Fackler <durin42@gmail.com>
parents: 32
diff changeset
23 (require 'midnight)
1c70c9393f45 Midnight mode.
Augie Fackler <durin42@gmail.com>
parents: 32
diff changeset
24
7
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
25 ; Clojure
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
26 (require 'clojure-auto)
51
ac7a8f9a0924 Better way to handle auto-mode stuff for clojure.
Augie Fackler <durin42@gmail.com>
parents: 43
diff changeset
27 (add-to-list 'auto-mode-alist '("\\.clj$" . clojure-mode))
7
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
28
22
8715ccb6f61b Start using textmate.el.
Augie Fackler <durin42@gmail.com>
parents: 19
diff changeset
29 (require 'textmate)
8715ccb6f61b Start using textmate.el.
Augie Fackler <durin42@gmail.com>
parents: 19
diff changeset
30 (textmate-mode)
8715ccb6f61b Start using textmate.el.
Augie Fackler <durin42@gmail.com>
parents: 19
diff changeset
31 (textmate-also-ignore "eggs|cover|daisy|.*.pyc")
8715ccb6f61b Start using textmate.el.
Augie Fackler <durin42@gmail.com>
parents: 19
diff changeset
32
52
d6ea7c108453 Add yaml mode.
Augie Fackler <durin42@gmail.com>
parents: 51
diff changeset
33 ; yaml
d6ea7c108453 Add yaml mode.
Augie Fackler <durin42@gmail.com>
parents: 51
diff changeset
34 (require 'yaml-mode)
d6ea7c108453 Add yaml mode.
Augie Fackler <durin42@gmail.com>
parents: 51
diff changeset
35 (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
d6ea7c108453 Add yaml mode.
Augie Fackler <durin42@gmail.com>
parents: 51
diff changeset
36
d6ea7c108453 Add yaml mode.
Augie Fackler <durin42@gmail.com>
parents: 51
diff changeset
37
76
2b2a667092fd Add nose.el.
Augie Fackler <durin42@gmail.com>
parents: 74
diff changeset
38 (require 'nose)
2b2a667092fd Add nose.el.
Augie Fackler <durin42@gmail.com>
parents: 74
diff changeset
39
0
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
40 ; Start the server so that emacsclient will work
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
41 ; TODO: is there a way to *not* start a server if one was already running?
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
42 (server-start)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
43
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
44 ; All lines should end in a newline
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
45 (setq require-final-newline t)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
46
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
47 ; disable tabs
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
48 (setq tab-width 4)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
49 (setq-default indent-tabs-mode nil)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
50
7
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
51 ; use tab for indent or complete
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
52 (defun indent-or-expand (arg)
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
53 "Either indent according to mode, or expand the word preceding
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
54 point."
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
55 (interactive "*P")
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
56 (if (and
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
57 (or (bobp) (= ?w (char-syntax (char-before))))
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
58 (or (eobp) (not (= ?w (char-syntax (char-after))))))
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
59 (dabbrev-expand arg)
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
60 (indent-according-to-mode)))
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
61
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
62 (defun af-tab-fix ()
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
63 (local-set-key [tab] 'indent-or-expand))
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
64
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
65 ;; add hooks for modes you want to use the tab completion for:
43
f34194cad324 Fix to not strip whitespace in rst, since that format is broken to depend on trailing whitespace in some cases.
Augie Fackler <durin42@gmail.com>
parents: 37
diff changeset
66 (set-variable 'af-cleanup-whitespace t)
7
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
67 (add-hook 'c-mode-hook 'af-tab-fix)
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
68 (add-hook 'sh-mode-hook 'af-tab-fix)
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
69 (add-hook 'emacs-lisp-mode-hook 'af-tab-fix)
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
70 (add-hook 'clojure-mode-hook 'af-tab-fix)
43
f34194cad324 Fix to not strip whitespace in rst, since that format is broken to depend on trailing whitespace in some cases.
Augie Fackler <durin42@gmail.com>
parents: 37
diff changeset
71 (add-hook 'rst-mode-hook '(lambda ()
f34194cad324 Fix to not strip whitespace in rst, since that format is broken to depend on trailing whitespace in some cases.
Augie Fackler <durin42@gmail.com>
parents: 37
diff changeset
72 (make-variable-buffer-local 'af-cleanup-whitespace)
f34194cad324 Fix to not strip whitespace in rst, since that format is broken to depend on trailing whitespace in some cases.
Augie Fackler <durin42@gmail.com>
parents: 37
diff changeset
73 (set-variable 'af-cleanup-whitespace nil)))
7
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
74
27
614a83a1c5dd Add js2-mode.
Augie Fackler <durin42@gmail.com>
parents: 22
diff changeset
75 (autoload 'js2-mode "js2" nil t)
614a83a1c5dd Add js2-mode.
Augie Fackler <durin42@gmail.com>
parents: 22
diff changeset
76 (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
37
6e65d45edbbe Tab fix for js2-mode
Augie Fackler <durin42@gmail.com>
parents: 34
diff changeset
77 (add-hook 'js2-mode-hook 'af-tab-fix)
27
614a83a1c5dd Add js2-mode.
Augie Fackler <durin42@gmail.com>
parents: 22
diff changeset
78
0
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
79 (defun af-python-mode-hook ()
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
80 ; highlight tabs in Python
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
81 (make-variable-buffer-local 'font-lock-mode-hook)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
82 (add-hook 'font-lock-mode-hook 'show-ws-highlight-tabs)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
83 (make-variable-buffer-local 'python-indent)
19
b5d75594b356 Add support for the ipython-mode stuff and remove vestigial pymacs code.
Augie Fackler <durin42@gmail.com>
parents: 14
diff changeset
84 (if (and buffer-file-name (string-match "melange" buffer-file-name))
b5d75594b356 Add support for the ipython-mode stuff and remove vestigial pymacs code.
Augie Fackler <durin42@gmail.com>
parents: 14
diff changeset
85 (set-variable 'python-indent 2))
7
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
86 (af-tab-fix)
0
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
87 )
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
88 (add-hook 'python-mode-hook 'af-python-mode-hook)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
89
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
90
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
91 ; text-mode tries to use M-s for something other than my save shortcut.
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
92 ; That's evil. Stop it from doing that.
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
93 (add-hook 'text-mode-hook '(lambda ()
43
f34194cad324 Fix to not strip whitespace in rst, since that format is broken to depend on trailing whitespace in some cases.
Augie Fackler <durin42@gmail.com>
parents: 37
diff changeset
94 (define-key text-mode-map "\M-s"
f34194cad324 Fix to not strip whitespace in rst, since that format is broken to depend on trailing whitespace in some cases.
Augie Fackler <durin42@gmail.com>
parents: 37
diff changeset
95 'save-buffer)))
0
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
96
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
97 ; Cleanup whitespace before saves.
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
98 (add-hook 'before-save-hook '(lambda ()
43
f34194cad324 Fix to not strip whitespace in rst, since that format is broken to depend on trailing whitespace in some cases.
Augie Fackler <durin42@gmail.com>
parents: 37
diff changeset
99 (if af-cleanup-whitespace (whitespace-cleanup))))
0
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
100
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
101 ; Disable that startup screen
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
102 (setq inhibit-startup-message t)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
103
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
104 ; Basically everything I do is in version control, stop saving backup files
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
105 (setq make-backup-files nil)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
106
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
107 ; Set some pretty colors that are gentler on my eyes
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
108 (setq default-frame-alist
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
109 '((width . 80)
43
f34194cad324 Fix to not strip whitespace in rst, since that format is broken to depend on trailing whitespace in some cases.
Augie Fackler <durin42@gmail.com>
parents: 37
diff changeset
110 (cursor-color . "white")
f34194cad324 Fix to not strip whitespace in rst, since that format is broken to depend on trailing whitespace in some cases.
Augie Fackler <durin42@gmail.com>
parents: 37
diff changeset
111 (cursor-type . box)
f34194cad324 Fix to not strip whitespace in rst, since that format is broken to depend on trailing whitespace in some cases.
Augie Fackler <durin42@gmail.com>
parents: 37
diff changeset
112 (foreground-color . "white")
f34194cad324 Fix to not strip whitespace in rst, since that format is broken to depend on trailing whitespace in some cases.
Augie Fackler <durin42@gmail.com>
parents: 37
diff changeset
113 (background-color . "black")
f34194cad324 Fix to not strip whitespace in rst, since that format is broken to depend on trailing whitespace in some cases.
Augie Fackler <durin42@gmail.com>
parents: 37
diff changeset
114 )
0
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
115 )
7
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
116 ; always highlight matching paren
9541f7e47514 Some edits to .emacs after my playing with Clojure, also added Clojure support files.
Augie Fackler <durin42@gmail.com>
parents: 0
diff changeset
117 (show-paren-mode 1)
0
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
118
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
119 ;; Automatically revert unedited files that change on the underlying
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
120 ;; system.
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
121 (global-auto-revert-mode)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
122
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
123 ;; Key Bindings
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
124 ; M-backspace kills the current buffer
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
125 (global-set-key [(meta backspace)] 'kill-this-buffer)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
126 ; Save early and often, with only one keystroke
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
127 (global-set-key [(meta s)] 'save-buffer)
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
128 ; Typing tab is for lesser editors, make hitting return do that
c30d68fbd368 Initial import from svn.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
129 (global-set-key "\C-m" 'newline-and-indent)
22
8715ccb6f61b Start using textmate.el.
Augie Fackler <durin42@gmail.com>
parents: 19
diff changeset
130 ; M-l makes more sense to me for jumping to a line
8715ccb6f61b Start using textmate.el.
Augie Fackler <durin42@gmail.com>
parents: 19
diff changeset
131 (global-set-key "\M-l" 'goto-line)
14
34fd1e79495b Fix for backspace being broken in some terminal emulators.
Augie Fackler <durin42@gmail.com>
parents: 12
diff changeset
132 ; Sometimes C-h is what Backspace sends in a terminal, and I never use C-h
34fd1e79495b Fix for backspace being broken in some terminal emulators.
Augie Fackler <durin42@gmail.com>
parents: 12
diff changeset
133 (global-set-key "\C-h" 'backward-delete-char-untabify)
22
8715ccb6f61b Start using textmate.el.
Augie Fackler <durin42@gmail.com>
parents: 19
diff changeset
134 ; M-t is what I want for the textmate file finding
8715ccb6f61b Start using textmate.el.
Augie Fackler <durin42@gmail.com>
parents: 19
diff changeset
135 (global-set-key [(meta t)] 'textmate-goto-file)
32
dc1c584707e6 Add some colorized diff stuff to emacs.
Augie Fackler <durin42@gmail.com>
parents: 28
diff changeset
136 (global-set-key [(meta z)] 'textmate-find-in-project-type)
65
5c25d3dc29ab A couple more keybindings for emacs.
Augie Fackler <durin42@gmail.com>
parents: 52
diff changeset
137 (global-set-key [(meta m)] 'iconify-or-deiconify-frame)
5c25d3dc29ab A couple more keybindings for emacs.
Augie Fackler <durin42@gmail.com>
parents: 52
diff changeset
138 (global-set-key [(control backspace)] 'kill-word)
74
fd369b708cbe Better way of altering load-path, add support for local-to-machine emacs configs.
Augie Fackler <durin42@gmail.com>
parents: 65
diff changeset
139
fd369b708cbe Better way of altering load-path, add support for local-to-machine emacs configs.
Augie Fackler <durin42@gmail.com>
parents: 65
diff changeset
140
fd369b708cbe Better way of altering load-path, add support for local-to-machine emacs configs.
Augie Fackler <durin42@gmail.com>
parents: 65
diff changeset
141 (if (file-regular-p (expand-file-name (concat (getenv "HOME") "/.emacs-machine.el")))
fd369b708cbe Better way of altering load-path, add support for local-to-machine emacs configs.
Augie Fackler <durin42@gmail.com>
parents: 65
diff changeset
142 (load (expand-file-name "~/.emacs-machine.el")))