aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2011-11-20 00:05:41 +0100
committerAndreas Schwab2011-11-20 00:05:41 +0100
commite981b61f0f8bb5edbb02fecf26cda8b4bcf5ce75 (patch)
treef3e9832d85d5ae07e1dfc336701d4f133e9dd9ea
parent3ffbc301c09e6d2a33e3f717d6c55afc9ed6b221 (diff)
downloademacs-e981b61f0f8bb5edbb02fecf26cda8b4bcf5ce75.tar.gz
emacs-e981b61f0f8bb5edbb02fecf26cda8b4bcf5ce75.zip
* lisp/progmodes/sh-script.el (sh-assignment-regexp): Add entry for
bash.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/sh-script.el1
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fb28caeffbe..2fb013649a5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2
3 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
4 bash.
5
12011-11-19 Juri Linkov <juri@jurta.org> 62011-11-19 Juri Linkov <juri@jurta.org>
2 7
3 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom' 8 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index bca5c93e0a5..62ca2ce085f 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -567,6 +567,7 @@ This is buffer-local in every such buffer.")
567 '((csh . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?[ \t]*[-+*/%^]?=") 567 '((csh . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?[ \t]*[-+*/%^]?=")
568 ;; actually spaces are only supported in let/(( ... )) 568 ;; actually spaces are only supported in let/(( ... ))
569 (ksh88 . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?[ \t]*\\([-+*/%&|~^]\\|<<\\|>>\\)?=") 569 (ksh88 . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?[ \t]*\\([-+*/%&|~^]\\|<<\\|>>\\)?=")
570 (bash . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?\\+?=")
570 (rc . "\\<\\([[:alnum:]_*]+\\)[ \t]*=") 571 (rc . "\\<\\([[:alnum:]_*]+\\)[ \t]*=")
571 (sh . "\\<\\([[:alnum:]_]+\\)=")) 572 (sh . "\\<\\([[:alnum:]_]+\\)="))
572 "Regexp for the variable name and what may follow in an assignment. 573 "Regexp for the variable name and what may follow in an assignment.