> In recent Shell-script mode, the last line of
> while :
> do
>     bla
> done
> becomes indented
>     done|xxx
> if one adds a pipe. I didn't check to see maybe if this is a feature.

Maybe the patch below fixes it,


        Stefan


--- sh-script.el        03 Oct 2006 16:26:41 -0400      1.189
+++ sh-script.el        10 Oct 2006 17:05:06 -0400      
@@ -2521,7 +2521,7 @@
        (goto-char where))
     (prog1
        (buffer-substring (point)
-                         (progn (skip-chars-forward "^ \t\n;&")(point)))
+                         (progn (skip-chars-forward "^ \t\n;&|")(point)))
       (unless and-move
        (goto-char start)))))
 


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to