From: Ben Laurie Date: Sun, 1 Aug 1999 15:20:53 +0000 (+0000) Subject: Set up emacs for the Apache Style Guide. X-Git-Tag: mpm-merge-1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=433fd8f906cc5e555b9222539eb3d6bc0aa891b1;p=thirdparty%2Fapache%2Fhttpd.git Set up emacs for the Apache Style Guide. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83549 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/emacs-style b/emacs-style new file mode 100644 index 00000000000..a0f16e2209d --- /dev/null +++ b/emacs-style @@ -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)