emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/setup 4ed266f: Fix quoting bug in :file-match


From: ELPA Syncer
Subject: [elpa] externals/setup 4ed266f: Fix quoting bug in :file-match
Date: Sat, 4 Sep 2021 16:57:17 -0400 (EDT)

branch: externals/setup
commit 4ed266f902b700f95becf02afc3443c5f3a3f0ea
Author: Case Duckworth <duckwork@users.noreply.github.com>
Commit: Philip Kaludercic <philipk@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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]