summaryrefslogtreecommitdiffstats
path: root/doc/openssl-c-indent.el
diff options
context:
space:
mode:
authorRichard Levitte <richard@levitte.org>2015-08-31 17:25:17 +0200
committerRichard Levitte <richard@levitte.org>2015-08-31 18:15:32 +0200
commit0927f0d822b1e0f55cb7d8bacf9004ad3495514b (patch)
treecfa4dec269c8437ea5be7fea4410d952cc400cba /doc/openssl-c-indent.el
parentAdd emacs CC mode style for OpenSSL (diff)
downloadopenssl-0927f0d822b1e0f55cb7d8bacf9004ad3495514b.tar.xz
openssl-0927f0d822b1e0f55cb7d8bacf9004ad3495514b.zip
Add an example .dir-locals.el
This file, when copied to .dir-locals.el in the OpenSSL source top, will make sure that the CC mode style "OpenSSL-II" will be used for all C files. Additionally, I makes sure that tabs are never used as indentation character, regardless of the emacs mode, and that the fill column is 78. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'doc/openssl-c-indent.el')
-rw-r--r--doc/openssl-c-indent.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/openssl-c-indent.el b/doc/openssl-c-indent.el
index d0b19c8936..144a915675 100644
--- a/doc/openssl-c-indent.el
+++ b/doc/openssl-c-indent.el
@@ -21,6 +21,8 @@
;;;
;;; A new buffer with .dir-locals.el will appear. Save it (C-x C-s).
;;;
+;;; Alternatively, have a look at dir-locals.example.el
+
;;; For suggesting improvements, please send e-mail to levitte@openssl.org.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;