emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106400: Small fix for sh-font-lock-k


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106400: Small fix for sh-font-lock-keywords-var bash entry.
Date: Wed, 16 Nov 2011 21:38:54 -0500
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106400
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2011-11-16 21:38:54 -0500
message:
  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.
modified:
  lisp/ChangeLog
  lisp/progmodes/sh-script.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-11-16 21:32:46 +0000
+++ b/lisp/ChangeLog    2011-11-17 02:38:54 +0000
@@ -1,3 +1,8 @@
+2011-11-17  Glenn Morris  <address@hidden>
+
+       * progmodes/sh-script.el (sh-font-lock-keywords-var):
+       Make bash entry derive from sh entry, not shell entry.
+
 2011-11-16  Michael Albinus  <address@hidden>
 
        * net/tramp.el (tramp-handle-file-truename): Cache only the local

=== modified file 'lisp/progmodes/sh-script.el'
--- a/lisp/progmodes/sh-script.el       2011-08-22 22:10:21 +0000
+++ b/lisp/progmodes/sh-script.el       2011-11-17 02:38:54 +0000
@@ -889,7 +889,7 @@
          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:]_]*\\|address@hidden)" 2


reply via email to

[Prev in Thread] Current Thread [Next in Thread]