aboutsummaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2018-08-11 14:31:19 +0200
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2018-08-11 14:31:19 +0200
commite5b66d9daae96d5023ede48fff4fe847ddb8fbfc (patch)
treedca3970ede717e2b103b9e960a5ef391459d69be /.dir-locals.el
parent1777783619a6a910c5522f658fec2eaaeed10922 (diff)
Minor edits in comments of .dir-locals.el
To be more easy to read/understand, the comments in `.dir-locals.el' were edited and made a little more elaborate.
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el13
1 files changed, 8 insertions, 5 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index c6dd4df..ae7e990 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -9,15 +9,18 @@
;;
;; For more information see (info "(emacs) Directory Variables")
-;; Basic settings.
-((c-mode ;; C files
+(
+ ;; C files.
+ (c-mode
(c-basic-offset . 2) ;; 2 spaces of indentation
(c-file-style . "gnu")) ;; GNU style for braces
- (makefile-mode ;; Makefiles
+ ;; Makefiles.
+ (makefile-mode
(indent-tabs-mode . t)) ;; Real TABs are important in makefiles
-(nil ;; All other files.
+ ;; All other files (this has to be in the end).
+ (nil
(indent-tabs-mode . nil) ;; No tabs as indentation
(fill-column . 75)) ;; 75-character wide lines
- )
+)