projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed29d9f
)
Revert "Fix typo in sh-assignment-regexp"
author
Andreas Schwab
<schwab@linux-m68k.org>
Sat, 13 Jul 2019 21:59:31 +0000
(23:59 +0200)
committer
Andreas Schwab
<schwab@linux-m68k.org>
Sat, 13 Jul 2019 21:59:51 +0000
(23:59 +0200)
This reverts commit
194f370a3da72d560975adc2835254ce251881a7
.
lisp/progmodes/sh-script.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/sh-script.el
b/lisp/progmodes/sh-script.el
index 64608f1930f4c1e1ec1eadd96797b0566342c8c0..ae90531a7fefafc40b1556562d13dae00191d0ce 100644
(file)
--- a/
lisp/progmodes/sh-script.el
+++ b/
lisp/progmodes/sh-script.el
@@
-582,7
+582,7
@@
This is buffer-local in every such buffer.")
;; actually spaces are only supported in let/(( ... ))
(ksh88 . ,(concat "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?"
"[ \t]*\\(?:[-+*/%&|~^]\\|<<\\|>>\\)?="))
- (bash . "\\<\\([[:alnum:]_]+\\)\\(
[.+
]\\)?\\+?=")
+ (bash . "\\<\\([[:alnum:]_]+\\)\\(
\\[.+\\
]\\)?\\+?=")
(rc . "\\<\\([[:alnum:]_*]+\\)[ \t]*=")
(sh . "\\<\\([[:alnum:]_]+\\)="))
"Regexp for the variable name and what may follow in an assignment.