Mercurial > dotfiles
annotate .emacs @ 513:ad9ca178e094
hg: add crevert alias for curses-revert
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Thu, 03 Jun 2021 14:25:21 -0400 |
parents | 6e5260ca85f2 |
children |
rev | line source |
---|---|
0 | 1 ;; Augie Fackler's .emacs file |
2 ; Places I've stolen from: | |
3 ; Karl Fogel: http://svn.red-bean.com/repos/kfogel/trunk | |
155
8b0932adcaf1
emacs: mark the location of one of my sources
Augie Fackler <durin42@gmail.com>
parents:
127
diff
changeset
|
4 ; Dave Anderson: https://ssl.natulte.net/hg/dotfiles/ |
98
8aa70b521063
Jump-to-function trick with IDO.
Augie Fackler <durin42@gmail.com>
parents:
77
diff
changeset
|
5 ; Emacs Starter Kit: http://github.com/technomancy/emacs-starter-kit |
0 | 6 |
7 ; Start the server so that emacsclient will work | |
421
9a2541ec4d4d
emacs: call package-initialize in .emacs
Augie Fackler <raf@durin42.com>
parents:
358
diff
changeset
|
8 |
9a2541ec4d4d
emacs: call package-initialize in .emacs
Augie Fackler <raf@durin42.com>
parents:
358
diff
changeset
|
9 ;; Added by Package.el. This must come before configurations of |
9a2541ec4d4d
emacs: call package-initialize in .emacs
Augie Fackler <raf@durin42.com>
parents:
358
diff
changeset
|
10 ;; installed packages. Don't delete this line. If you don't want it, |
9a2541ec4d4d
emacs: call package-initialize in .emacs
Augie Fackler <raf@durin42.com>
parents:
358
diff
changeset
|
11 ;; just comment it out by adding a semicolon to the start of the line. |
9a2541ec4d4d
emacs: call package-initialize in .emacs
Augie Fackler <raf@durin42.com>
parents:
358
diff
changeset
|
12 ;; You may delete these explanatory comments. |
9a2541ec4d4d
emacs: call package-initialize in .emacs
Augie Fackler <raf@durin42.com>
parents:
358
diff
changeset
|
13 (package-initialize) |
9a2541ec4d4d
emacs: call package-initialize in .emacs
Augie Fackler <raf@durin42.com>
parents:
358
diff
changeset
|
14 |
0 | 15 (server-start) |
16 | |
358
08af9e123baa
emacs: load customize file earlier so it can matter for things like smart-modeline
Augie Fackler <raf@durin42.com>
parents:
355
diff
changeset
|
17 (setq custom-file "~/.elisp/settings/01.custom.el") |
355
7edfa8d22584
emacs: move customize droppings to a dedicated file
Augie Fackler <raf@durin42.com>
parents:
214
diff
changeset
|
18 |
77 | 19 (let ((settings-files (concat (getenv "HOME") "/.elisp/settings"))) |
460
6e5260ca85f2
emacs: remove pointless quote
Augie Fackler <raf@durin42.com>
parents:
421
diff
changeset
|
20 (mapc (lambda (p) (load (concat settings-files "/" p))) |
201
b80bed8c7c39
emacs: stop loading temp. files when walking settings
Augie Fackler <durin42@gmail.com>
parents:
155
diff
changeset
|
21 (directory-files settings-files nil "^[0-9].*el$"))) |
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
|
22 |
77 | 23 (if (file-regular-p (expand-file-name (concat (getenv "HOME") |
24 "/.emacs-machine.el"))) | |
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
|
25 (load (expand-file-name "~/.emacs-machine.el"))) |