Mercurial > emacs
comparison lisp/progmodes/sh-script.el @ 20886:7aa1fdcd551a
(sh-set-shell): Use standard-syntax-table if none other is specified.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 11 Feb 1998 07:14:24 +0000 |
parents | c6d9f48bd2f8 |
children | bab0b53038ee |
comparison
equal
deleted
inserted
replaced
20885:9bd868e76aa5 | 20886:7aa1fdcd551a |
---|---|
829 sh-shell-variables nil | 829 sh-shell-variables nil |
830 sh-shell-variables-initialized nil | 830 sh-shell-variables-initialized nil |
831 imenu-generic-expression (sh-feature sh-imenu-generic-expression) | 831 imenu-generic-expression (sh-feature sh-imenu-generic-expression) |
832 imenu-case-fold-search nil | 832 imenu-case-fold-search nil |
833 shell (sh-feature sh-variables)) | 833 shell (sh-feature sh-variables)) |
834 (set-syntax-table (sh-feature sh-mode-syntax-table)) | 834 (set-syntax-table (or (sh-feature sh-mode-syntax-table) |
835 (standard-syntax-table))) | |
835 (while shell | 836 (while shell |
836 (sh-remember-variable (car shell)) | 837 (sh-remember-variable (car shell)) |
837 (setq shell (cdr shell))) | 838 (setq shell (cdr shell))) |
838 ;; Packages should not need to toggle Font Lock mode. sm. | 839 ;; Packages should not need to toggle Font Lock mode. sm. |
839 ; (and (boundp 'font-lock-mode) | 840 ; (and (boundp 'font-lock-mode) |