lang/web/autoload/css: escape braces
Prevents auto-formatting of braces by tools like parinfer.
This commit is contained in:
parent
2c5ccaa864
commit
2df2622329
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@
|
||||||
(let ((inhibit-modification-hooks t))
|
(let ((inhibit-modification-hooks t))
|
||||||
(cl-destructuring-bind (&key beg end op cl &allow-other-keys)
|
(cl-destructuring-bind (&key beg end op cl &allow-other-keys)
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(when (and (eq (char-after) ?{)
|
(when (and (eq (char-after) ?\{)
|
||||||
(not (eq (char-before) ?{)))
|
(not (eq (char-before) ?\{)))
|
||||||
(forward-char))
|
(forward-char))
|
||||||
(sp-get-sexp))
|
(sp-get-sexp))
|
||||||
(when (or (not (and beg end op cl))
|
(when (or (not (and beg end op cl))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue