[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f9ffb81: Fix previous sh-script.el font-lock #comment change
From: |
Lars Ingebrigtsen |
Subject: |
master f9ffb81: Fix previous sh-script.el font-lock #comment change |
Date: |
Wed, 30 Oct 2019 17:06:28 -0400 (EDT) |
branch: master
commit f9ffb81fb82bba25cb464f05ca971acc0f86da53
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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.
---
lisp/progmodes/sh-script.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 62e4e5c..b2f896e 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -1141,7 +1141,7 @@ subshells can nest."
;; metacharacters. The list of special chars is taken from
;; the single-unix spec of the shell command language (under
;; `quoting') but with `$' removed.
- ("\\(?:[^|&;<>(`\\\"' \t\n]\\|\\${\\|\\ \\)\\(#+\\)" (1 "_"))
+ ("\\(?:[^|&;<>(`\\\"' \t\n]\\|\\${\\|\\\\ \\)\\(#+\\)" (1 "_"))
;; In addition, `#' at the beginning of closed parentheses
;; does not start a comment if the parentheses are not isolated
;; by metacharacters, excluding [()].
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master f9ffb81: Fix previous sh-script.el font-lock #comment change,
Lars Ingebrigtsen <=