From: Richard M. Stallman Date: Wed, 11 Feb 1998 07:14:24 +0000 (+0000) Subject: (sh-set-shell): Use standard-syntax-table if none other is specified. X-Git-Tag: emacs-20.3~2188 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0775c032ae5c3e4cabb593555ae88e999eb0342f;p=emacs.git (sh-set-shell): Use standard-syntax-table if none other is specified. --- 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)))