Commit 35c0bac8 authored by Glenn Morris's avatar Glenn Morris
Browse files

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.
parent d0c8fc8a
2011-11-17 Glenn Morris <rgm@gnu.org>
* progmodes/sh-script.el (sh-font-lock-keywords-var):
Make bash entry derive from sh entry, not shell entry.
2011-11-16 Michael Albinus <michael.albinus@gmx.de> 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-handle-file-truename): Cache only the local * net/tramp.el (tramp-handle-file-truename): Cache only the local
......
...@@ -889,7 +889,7 @@ See `sh-feature'.") ...@@ -889,7 +889,7 @@ See `sh-feature'.")
font-lock-variable-name-face)) font-lock-variable-name-face))
(rc sh-append es) (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 (sh sh-append shell
;; Variable names. ;; Variable names.
("\\$\\({#?\\)?\\([[:alpha:]_][[:alnum:]_]*\\|[-#?@!]\\)" 2 ("\\$\\({#?\\)?\\([[:alpha:]_][[:alnum:]_]*\\|[-#?@!]\\)" 2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment