(sh-mode-syntax-table): Turn on comment syntax for #,
comment-end for newline, string for `, and excape for $. rc can use the same as sh. Move csh after sh. (sh-comment-prefix, sh-font-lock-keyw-rds-only): Variables deleted. (sh-mode): Adjust setting of font-lock-defaults. (sh-font-lock-keywords): No need for anything special for comments. (sh-set-shell, sh-mode): Set comment-start-skip to a simple constant.
Showing with 14 additions and 36 deletions