# HG changeset patch
# User Richard M. Stallman <rms@gnu.org>
# Date 847346383 0
# Node ID aa23842d0e1a8ec827f48e376fcaa5976546255b
# Parent  ffdfedf6de8f3b8e67ce205fbf894dd404b1561c
(sh-mode): Set `comment-start-skip'; otherwise
only set if `sh-set-shell' gets called.

diff -r ffdfedf6de8f -r aa23842d0e1a lisp/progmodes/sh-script.el
--- a/lisp/progmodes/sh-script.el	Thu Nov 07 05:46:56 1996 +0000
+++ b/lisp/progmodes/sh-script.el	Thu Nov 07 05:59:43 1996 +0000
@@ -641,6 +641,7 @@
 	paragraph-start (concat page-delimiter "\\|$")
 	paragraph-separate paragraph-start
 	comment-start "# "
+	comment-start-skip (concat (sh-feature sh-comment-prefix) "#+[\t ]*")
 	comint-dynamic-complete-functions sh-dynamic-complete-functions
 	;; we can't look if previous line ended with `\'
 	comint-prompt-regexp "^[ \t]*"