]> git.eshelyaron.com Git - emacs.git/commitdiff
(sh-set-shell): Use standard-syntax-table if none other is specified.
authorRichard M. Stallman <rms@gnu.org>
Wed, 11 Feb 1998 07:14:24 +0000 (07:14 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 11 Feb 1998 07:14:24 +0000 (07:14 +0000)
lisp/progmodes/sh-script.el

index 4cc89af5f1e688e66577cf62fb2681ca91f84833..bc106f82b305b9020f59da229c9f5bdf1cf9fa1a 100644 (file)
@@ -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)))