bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15613: Wrong indentation in Shell-script[sh] mode?


From: Angelo Graziosi
Subject: bug#15613: Wrong indentation in Shell-script[sh] mode?
Date: Thu, 17 Oct 2013 18:46:07 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1

Il 17/10/2013 5.57, Stefan Monnier ha scritto:
I installed the patch below which should fix it, thank you,

Confirmed!

Thanks,
  Angelo.



--- lisp/progmodes/sh-script.el 2013-10-13 23:21:56 +0000
+++ lisp/progmodes/sh-script.el 2013-10-17 03:53:43 +0000
@@ -3097,6 +3097,7 @@
  OPEN and CLOSE are regexps denoting the tokens to be matched.
  Optional parameter DEPTH (usually 1) says how many to look for."
    (let ((parse-sexp-ignore-comments t)
+        (forward-sexp-function nil)
        prev)
      (setq depth (or depth 1))
      (save-excursion







reply via email to

[Prev in Thread] Current Thread [Next in Thread]