aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-10-30 22:06:18 +0100
committerLars Ingebrigtsen2019-10-30 22:06:18 +0100
commitf9ffb81fb82bba25cb464f05ca971acc0f86da53 (patch)
tree593f7290e510a01f265d3f7c350d2cd7c4fad42d
parent77d4491391be50bb88c3b45a2dda30a0a3addd2b (diff)
downloademacs-f9ffb81fb82bba25cb464f05ca971acc0f86da53.tar.gz
emacs-f9ffb81fb82bba25cb464f05ca971acc0f86da53.zip
Fix previous sh-script.el font-lock #comment change
* lisp/progmodes/sh-script.el (sh-syntax-propertize-function): We want to match "\ " before a comment; not a space character.
-rw-r--r--lisp/progmodes/sh-script.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 62e4e5c49e0..b2f896ecab9 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -1141,7 +1141,7 @@ subshells can nest."
1141 ;; metacharacters. The list of special chars is taken from 1141 ;; metacharacters. The list of special chars is taken from
1142 ;; the single-unix spec of the shell command language (under 1142 ;; the single-unix spec of the shell command language (under
1143 ;; `quoting') but with `$' removed. 1143 ;; `quoting') but with `$' removed.
1144 ("\\(?:[^|&;<>(`\\\"' \t\n]\\|\\${\\|\\ \\)\\(#+\\)" (1 "_")) 1144 ("\\(?:[^|&;<>(`\\\"' \t\n]\\|\\${\\|\\\\ \\)\\(#+\\)" (1 "_"))
1145 ;; In addition, `#' at the beginning of closed parentheses 1145 ;; In addition, `#' at the beginning of closed parentheses
1146 ;; does not start a comment if the parentheses are not isolated 1146 ;; does not start a comment if the parentheses are not isolated
1147 ;; by metacharacters, excluding [()]. 1147 ;; by metacharacters, excluding [()].