diff mbox

[blktests] dir-locals: fix indenation with Emacs

Message ID 20180704115938.15060-1-jthumshirn@suse.de (mailing list archive)
State New, archived
Headers show

Commit Message

Johannes Thumshirn July 4, 2018, 11:59 a.m. UTC
A recent update of Emacs broke .dir-locals.el's shell indendation
setting.

Also set 'sh-indendation' not just 'sh-basic-offset' for this.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
---
 .dir-locals.el | 1 +
 1 file changed, 1 insertion(+)

Comments

Bart Van Assche July 5, 2018, 6:13 p.m. UTC | #1
On 07/04/18 04:59, Johannes Thumshirn wrote:
> A recent update of Emacs broke .dir-locals.el's shell indendation
> setting.

Please fix the spelling of "indentation" in the subject and in the above 
sentence. Additionally, the previous patch for this file had 
"dir-locals.el:" as subject-prefix. Should this patch have the same 
subject prefix?

Anyway:

Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Johannes Thumshirn July 6, 2018, 8:21 a.m. UTC | #2
On Thu, Jul 05, 2018 at 11:13:48AM -0700, Bart Van Assche wrote:
> On 07/04/18 04:59, Johannes Thumshirn wrote:
> > A recent update of Emacs broke .dir-locals.el's shell indendation
> > setting.
> 
> Please fix the spelling of "indentation" in the subject and in the above
> sentence. Additionally, the previous patch for this file had
> "dir-locals.el:" as subject-prefix. Should this patch have the same subject
> prefix?

Yup, done.
diff mbox

Patch

diff --git a/.dir-locals.el b/.dir-locals.el
index f64c48202910..46961929fac9 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,3 +1,4 @@ 
 ((sh-mode . ((sh-basic-offset . 8)
+	     (sh-indentation . 8)
 	     (fill-column . 80)
 	     (indent-tabs-mode . t))))