aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-11-07 05:59:43 +0000
committerRichard M. Stallman1996-11-07 05:59:43 +0000
commita14bf24d3a009e97c9121fc92f3f5e0efb4ed10b (patch)
treecaaf6e05c09fe323ae6282d21215f178e8959c7d
parent88b09a17736ea30e30d4db717ca2e7d40f8adac7 (diff)
downloademacs-a14bf24d3a009e97c9121fc92f3f5e0efb4ed10b.tar.gz
emacs-a14bf24d3a009e97c9121fc92f3f5e0efb4ed10b.zip
(sh-mode): Set `comment-start-skip'; otherwise
only set if `sh-set-shell' gets called.
-rw-r--r--lisp/progmodes/sh-script.el1
1 files changed, 1 insertions, 0 deletions
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."
641 paragraph-start (concat page-delimiter "\\|$") 641 paragraph-start (concat page-delimiter "\\|$")
642 paragraph-separate paragraph-start 642 paragraph-separate paragraph-start
643 comment-start "# " 643 comment-start "# "
644 comment-start-skip (concat (sh-feature sh-comment-prefix) "#+[\t ]*")
644 comint-dynamic-complete-functions sh-dynamic-complete-functions 645 comint-dynamic-complete-functions sh-dynamic-complete-functions
645 ;; we can't look if previous line ended with `\' 646 ;; we can't look if previous line ended with `\'
646 comint-prompt-regexp "^[ \t]*" 647 comint-prompt-regexp "^[ \t]*"