From e5b66d9daae96d5023ede48fff4fe847ddb8fbfc Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Sat, 11 Aug 2018 14:31:19 +0200 Subject: 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. --- .dir-locals.el | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to '.dir-locals.el') 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 - ) +) -- cgit v1.2.1