elisp code to help with LLVM code standards compliance
authorMisha Brukman <brukman+llvm@gmail.com>
Sun, 24 Apr 2005 17:09:19 +0000 (17:09 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Sun, 24 Apr 2005 17:09:19 +0000 (17:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21497 91177308-0d34-0410-b5e6-96231b3b80d8

utils/emacs/emacs.el [new file with mode: 0644]

diff --git a/utils/emacs/emacs.el b/utils/emacs/emacs.el
new file mode 100644 (file)
index 0000000..3f68ea8
--- /dev/null
@@ -0,0 +1,12 @@
+;; LLVM coding style guidelines in emacs
+;; Maintainer: LLVM Team, http://llvm.cs.uiuc.edu
+;; Modified:   2005-04-24
+
+;; Max 80 cols per line, indent by two spaces, no tabs.
+;; Apparently, this does not affect tabs in Makefiles.
+(custom-set-variables
+  '(fill-column 80)
+  '(c++-indent-level 2)
+  '(c-basic-offset 2)
+  '(indent-tabs-mode nil))
+