diff 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
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el	Wed Feb 11 07:11:50 1998 +0000
+++ b/lisp/progmodes/sh-script.el	Wed Feb 11 07:14:24 1998 +0000
@@ -831,7 +831,8 @@
 	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)))