diff mbox

[blktests,v2] dir-locals.el: fix indenation with Emacs

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

Commit Message

Johannes Thumshirn July 6, 2018, 8:21 a.m. UTC
A recent update of Emacs broke .dir-locals.el's shell indentation
setting.

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

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>

---
Changes to v1:
- Fix spelling and subject prefix
- Add Bart's R-b
---
 .dir-locals.el | 1 +
 1 file changed, 1 insertion(+)

Comments

Omar Sandoval July 6, 2018, 9:17 p.m. UTC | #1
On Fri, Jul 06, 2018 at 10:21:28AM +0200, Johannes Thumshirn wrote:
> A recent update of Emacs broke .dir-locals.el's shell indentation
> setting.
> 
> Also set 'sh-indendation' not just 'sh-basic-offset' for this.

Another typo ;) fixed and applied, thanks.

> Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
> 
> ---
> Changes to v1:
> - Fix spelling and subject prefix
> - Add Bart's R-b
> ---
>  .dir-locals.el | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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))))
> -- 
> 2.16.4
>
Johannes Thumshirn July 9, 2018, 7:15 a.m. UTC | #2
On Fri, Jul 06, 2018 at 02:17:44PM -0700, Omar Sandoval wrote:
> On Fri, Jul 06, 2018 at 10:21:28AM +0200, Johannes Thumshirn wrote:
> > A recent update of Emacs broke .dir-locals.el's shell indentation
> > setting.
> > 
> > Also set 'sh-indendation' not just 'sh-basic-offset' for this.
> 
> Another typo ;) fixed and applied, thanks.

*gah*
Thanks :-)
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))))