mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix void-variable string #809
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user