diff options
author | Richard M. Stallman <rms@gnu.org> | 1998-02-11 07:14:24 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1998-02-11 07:14:24 +0000 |
commit | c6d0d45e29d74b91e6800f655a4f629639063ccf (patch) | |
tree | 91888901dead7810ccc7ac82a3e2154cd23b25f8 /lisp | |
parent | edc1474aaa9dc2fcca021d2403a1d39f725f2687 (diff) | |
download | emacs-c6d0d45e29d74b91e6800f655a4f629639063ccf.tar.gz |
(sh-set-shell): Use standard-syntax-table if none other is specified.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/sh-script.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 4cc89af5f1e..bc106f82b30 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -831,7 +831,8 @@ Calls the value of `sh-set-shell-hook' if set." imenu-generic-expression (sh-feature sh-imenu-generic-expression) imenu-case-fold-search nil shell (sh-feature sh-variables)) - (set-syntax-table (sh-feature sh-mode-syntax-table)) + (set-syntax-table (or (sh-feature sh-mode-syntax-table) + (standard-syntax-table))) (while shell (sh-remember-variable (car shell)) (setq shell (cdr shell))) |