File: emacs-mode

package info (click to toggle)
apr 1.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 7,132 kB
  • sloc: ansic: 60,108; sh: 3,610; perl: 900; awk: 393; makefile: 366; python: 142
file content (15 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;; M-x load-file <this file>
;; or emacs -l <this file>
;; to use this style: C-c . apache
(c-add-style "apache"
	     '((inclass . ++)
	       (defun-block-intro . ++)
	       (statement-block-intro . ++)
	       (substatement . ++)
	       (brace-list-intro . ++)
	       (statement-case-intro . ++)
	       (inextern-lang . 0)
	       ))
(setq-default indent-tabs-mode nil)
;; if you forgot to do this at startup, then M-x eval-expression
;; (setq indent-tabs-mode nil) on each buffer