aboutsummaryrefslogtreecommitdiffstats
path: root/doc/dir-locals.example.el
diff options
context:
space:
mode:
Diffstat (limited to 'doc/dir-locals.example.el')
-rw-r--r--doc/dir-locals.example.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/dir-locals.example.el b/doc/dir-locals.example.el
new file mode 100644
index 000000000000..79d0b01108d4
--- /dev/null
+++ b/doc/dir-locals.example.el
@@ -0,0 +1,15 @@
+;;; This is an example of what a .dir-locals.el suitable for OpenSSL
+;;; development could look like.
+;;;
+;;; Apart from setting the CC mode style to "OpenSSL-II", it also
+;;; makes sure that tabs are never used for indentation in any file,
+;;; and that the fill column is 78.
+;;;
+;;; For more information see (info "(emacs) Directory Variables")
+
+((nil
+ (indent-tabs-mode . nil)
+ (fill-column . 78)
+ )
+ (c-mode
+ (c-file-style . "OpenSSL-II")))