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))
|
||||
collect (cons (car pair)
|
||||
;; TODO Replace with `string-trim-right' (Emacs 26+)
|
||||
(let ((string (cdr pair)))
|
||||
(if (string-match "\\(?:>\\|]\\|}\\)+\\'" string)
|
||||
(replace-match "" t t string)
|
||||
string)))))
|
||||
string))))))
|
||||
(setf (alist-get nil web-mode-engines-auto-pairs) nil))
|
||||
|
||||
(map! :map web-mode-map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue