# HG changeset patch # User Richard M. Stallman # Date 887181264 0 # Node ID 7aa1fdcd551a5b9a7d3c99d040e65a1a32b38904 # Parent 9bd868e76aa549644daf0e4fbffcfbf639b0f5a1 (sh-set-shell): Use standard-syntax-table if none other is specified. diff -r 9bd868e76aa5 -r 7aa1fdcd551a lisp/progmodes/sh-script.el --- 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)))