]> git.eshelyaron.com Git - emacs.git/commitdiff
(sh-mode): Set `comment-start-skip'; otherwise
authorRichard M. Stallman <rms@gnu.org>
Thu, 7 Nov 1996 05:59:43 +0000 (05:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 7 Nov 1996 05:59:43 +0000 (05:59 +0000)
only set if `sh-set-shell' gets called.

lisp/progmodes/sh-script.el

index bb007e1950f749daf668146e4015c58718f61fcb..30effb24c1449f1cb3c5881359d641cc40b445e7 100644 (file)
@@ -641,6 +641,7 @@ with your script for an edit-interpret-debug cycle."
        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]*"