changeset 16533:aa23842d0e1a

(sh-mode): Set `comment-start-skip'; otherwise only set if `sh-set-shell' gets called.
author Richard M. Stallman <rms@gnu.org>
date Thu, 07 Nov 1996 05:59:43 +0000
parents ffdfedf6de8f
children 21aae8d73ddd
files lisp/progmodes/sh-script.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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]*"