From: Richard M. Stallman Date: Thu, 7 Nov 1996 05:59:43 +0000 (+0000) Subject: (sh-mode): Set `comment-start-skip'; otherwise X-Git-Tag: emacs-20.1~3411 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a14bf24d3a009e97c9121fc92f3f5e0efb4ed10b;p=emacs.git (sh-mode): Set `comment-start-skip'; otherwise only set if `sh-set-shell' gets called. --- diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index bb007e1950f..30effb24c14 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -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]*"