aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-09-05 06:55:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-09-05 06:55:08 +0000
commitb31a54c46ad80f626a6f36d4c620f0cabe3ded82 (patch)
tree3c7e502c5062575c590820a877f69412d4b8cb11
parent08238f432042f96db99515c7808088ed20e53ecb (diff)
emacs lisp setup for hacking curl code
-rw-r--r--curl-mode.el21
1 files changed, 21 insertions, 0 deletions
diff --git a/curl-mode.el b/curl-mode.el
new file mode 100644
index 000000000..6a51708b9
--- /dev/null
+++ b/curl-mode.el
@@ -0,0 +1,21 @@
+;;;; Emacs Lisp help for writing curl code. ;;;;
+
+;;; In C files, put something like this to load this file automatically:
+;;
+;; /* -----------------------------------------------------------------
+;; * local variables:
+;; * eval: (load-file "../curl-mode.el")
+;; * end:
+;; */
+;;
+;; (note: make sure to get the path right in the argument to load-file).
+
+
+;;; The curl hacker's C conventions
+
+;;; we use intent-level 2
+(setq c-basic-offset 2)
+;;; never ever use tabs to indent!
+(setq indent-tabs-mode nil)
+;;; I like this, stolen from Subversion! ;-)
+(setq angry-mob-with-torches-and-pitchforks t)