]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Set up emacs for the Apache Style Guide.
authorBen Laurie <ben@apache.org>
Sun, 1 Aug 1999 15:20:53 +0000 (15:20 +0000)
committerBen Laurie <ben@apache.org>
Sun, 1 Aug 1999 15:20:53 +0000 (15:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83549 13f79535-47bb-0310-9956-ffa450edef68

emacs-style [new file with mode: 0644]

diff --git a/emacs-style b/emacs-style
new file mode 100644 (file)
index 0000000..a0f16e2
--- /dev/null
@@ -0,0 +1,9 @@
+(add-hook 'c-mode-hook
+          (function (lambda ()
+                       (c-set-offset 'inclass' ++)
+                       (c-set-offset 'defun-block-intro' ++)
+                       (c-set-offset 'statement-block-intro' ++)
+                       (c-set-offset 'substatement' ++)
+                       (c-set-offset 'brace-list-intro' ++)
+                       )))
+(setq c++-mode-hook c-mode-hook)