xref: /netbsd-src/crypto/external/bsd/openssl/dist/doc/dir-locals.example.el (revision c7da899b458fd3d1c09128edcff2adee468e88bf)
13e7df5c2Schristos;;; This is an example of what a .dir-locals.el suitable for OpenSSL
23e7df5c2Schristos;;; development could look like.
33e7df5c2Schristos;;;
43e7df5c2Schristos;;; Apart from setting the CC mode style to "OpenSSL-II", it also
53e7df5c2Schristos;;; makes sure that tabs are never used for indentation in any file,
63e7df5c2Schristos;;; and that the fill column is 78.
73e7df5c2Schristos;;;
83e7df5c2Schristos;;; For more information see (info "(emacs) Directory Variables")
93e7df5c2Schristos
103e7df5c2Schristos((nil
113e7df5c2Schristos  (indent-tabs-mode . nil)
12*c7da899bSchristos  (fill-column . 70)
133e7df5c2Schristos  )
143e7df5c2Schristos (c-mode
153e7df5c2Schristos  (c-file-style . "OpenSSL-II")))
16