diff options
Diffstat (limited to 'firmware/rockbox-mode.el')
-rw-r--r-- | firmware/rockbox-mode.el | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/firmware/rockbox-mode.el b/firmware/rockbox-mode.el new file mode 100644 index 0000000000..5ede3b4c20 --- /dev/null +++ b/firmware/rockbox-mode.el | |||
@@ -0,0 +1,22 @@ | |||
1 | ;;;; Emacs Lisp help for writing rockbox code. ;;;; | ||
2 | ;;;; $Id$ | ||
3 | |||
4 | ;;; In C files, put something like this to load this file automatically: | ||
5 | ;; | ||
6 | ;; /* ----------------------------------------------------------------- | ||
7 | ;; * local variables: | ||
8 | ;; * eval: (load-file "../curl-mode.el") | ||
9 | ;; * end: | ||
10 | ;; */ | ||
11 | ;; | ||
12 | ;; (note: make sure to get the path right in the argument to load-file). | ||
13 | |||
14 | |||
15 | ;;; The rockbox hacker's C conventions | ||
16 | |||
17 | ;;; we use intent-level 2 | ||
18 | (setq c-basic-offset 4) | ||
19 | ;;; never ever use tabs to indent! | ||
20 | (setq indent-tabs-mode nil) | ||
21 | ;;; I like this, stolen from Subversion! ;-) | ||
22 | (setq angry-mob-with-torches-and-pitchforks t) | ||