changeset 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 9bd868e76aa5
children bb0f5fde5973
files lisp/progmodes/sh-script.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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)))