[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-script mode indentation skewed encountering "&"
From: |
Glenn Morris |
Subject: |
Re: shell-script mode indentation skewed encountering "&" |
Date: |
Thu, 30 Jun 2005 17:47:51 +0100 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Dan Jacobson wrote:
> (
> : note how the parentheses are nicely indented
> )
> (
> : note how the closing parentheses is skewed when we add &
> )&
Thanks - I installed this fix in CVS:
*** sh-script.el 14 Jun 2005 23:56:03 -0000 1.157
--- sh-script.el 30 Jun 2005 16:45:04 -0000 1.158
***************
*** 2370,2376 ****
(goto-char where))
(prog1
(buffer-substring (point)
! (progn (skip-chars-forward "^ \t\n;")(point)))
(unless and-move
(goto-char start)))))
--- 2370,2376 ----
(goto-char where))
(prog1
(buffer-substring (point)
! (progn (skip-chars-forward "^ \t\n;&")(point)))
(unless and-move
(goto-char start)))))