Commit b31a54c4 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

emacs lisp setup for hacking curl code

parent 08238f43
Loading
Loading
Loading
Loading

curl-mode.el

0 → 100644
+21 −0
Original line number Diff line number Diff line
;;;; 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)