branch: externals/setup commit 4ed266f902b700f95becf02afc3443c5f3a3f0ea Author: Case Duckworth <duckw...@users.noreply.github.com> Commit: Philip Kaludercic <phil...@posteo.net>
Fix quoting bug in :file-match `:file-match` forms were throwing `void-variable` errors. Adding a quote mark fixes it. --- setup.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.el b/setup.el index cdca915..3e91a51 100644 --- a/setup.el +++ b/setup.el @@ -599,7 +599,7 @@ If PATH does not exist, abort the evaluation." (setup-define :file-match (lambda (pat) - `(add-to-list 'auto-mode-alist (cons ,pat ,(setup-get 'mode)))) + `(add-to-list 'auto-mode-alist (cons ,pat ',(setup-get 'mode)))) :documentation "Associate the current mode with files that match PAT." :debug '(form) :repeatable t)