From 35c0bac81abf468534817d0e56b5b3f695fd71f9 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 16 Nov 2011 21:38:54 -0500 Subject: [PATCH] Small fix for sh-font-lock-keywords-var bash entry. * lisp/progmodes/sh-script.el (sh-font-lock-keywords-var): Make bash entry derive from sh entry, not shell entry. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/sh-script.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bfa5a940a76..ccb115ec471 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-11-17 Glenn Morris + + * progmodes/sh-script.el (sh-font-lock-keywords-var): + Make bash entry derive from sh entry, not shell entry. + 2011-11-16 Michael Albinus * net/tramp.el (tramp-handle-file-truename): Cache only the local diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 7b949134c6c..da2b4e81577 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -889,7 +889,7 @@ See `sh-feature'.") font-lock-variable-name-face)) (rc sh-append es) - (bash sh-append shell ("\\$(\\(\\sw+\\)" (1 'sh-quoted-exec t) )) + (bash sh-append sh ("\\$(\\(\\sw+\\)" (1 'sh-quoted-exec t) )) (sh sh-append shell ;; Variable names. ("\\$\\({#?\\)?\\([[:alpha:]_][[:alnum:]_]*\\|[-#?@!]\\)" 2 -- 2.39.2