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.
This commit is contained in:
parent
d0c8fc8abb
commit
35c0bac81a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
* net/tramp.el (tramp-handle-file-truename): Cache only the local
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue