fix(lib): void-variable var

Caused by a typo introduced in cf362bc.

Fix: #6240
Amend: cf362bc1a0
This commit is contained in:
Henrik Lissner 2022-04-03 20:05:31 +02:00
parent 4da450ffd7
commit d35157ce50
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -316,7 +316,7 @@ editorconfig or dtrt-indent installed."
(editorconfig-set-indentation nil width))) (editorconfig-set-indentation nil width)))
((require 'dtrt-indent nil t) ((require 'dtrt-indent nil t)
(when-let (vars (nth 2 (assq major-mode dtrt-indent-hook-mapping-list))) (when-let (vars (nth 2 (assq major-mode dtrt-indent-hook-mapping-list)))
(dolist (var (doom-enlist var)) (dolist (var (doom-enlist vars))
(doom-log "Updated %s = %d" var width) (doom-log "Updated %s = %d" var width)
(set var width))))) (set var width)))))
(message "Changed indentation to %d" width)) (message "Changed indentation to %d" width))