Fix void-variable string #809
This commit is contained in:
parent
480378d30c
commit
3cddbd1949
1 changed files with 4 additions and 3 deletions
|
@ -39,9 +39,10 @@
|
||||||
unless (string-match-p "^[a-z-]" (cdr pair))
|
unless (string-match-p "^[a-z-]" (cdr pair))
|
||||||
collect (cons (car pair)
|
collect (cons (car pair)
|
||||||
;; TODO Replace with `string-trim-right' (Emacs 26+)
|
;; TODO Replace with `string-trim-right' (Emacs 26+)
|
||||||
(if (string-match "\\(?:>\\|]\\|}\\)+\\'" string)
|
(let ((string (cdr pair)))
|
||||||
(replace-match "" t t string)
|
(if (string-match "\\(?:>\\|]\\|}\\)+\\'" string)
|
||||||
string)))))
|
(replace-match "" t t string)
|
||||||
|
string))))))
|
||||||
(setf (alist-get nil web-mode-engines-auto-pairs) nil))
|
(setf (alist-get nil web-mode-engines-auto-pairs) nil))
|
||||||
|
|
||||||
(map! :map web-mode-map
|
(map! :map web-mode-map
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue