diff options
Diffstat (limited to 'early-init.el')
-rw-r--r-- | early-init.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/early-init.el b/early-init.el index 9f8e7f0..2fcee66 100644 --- a/early-init.el +++ b/early-init.el | |||
@@ -224,7 +224,14 @@ package. This macro is not repeatable." | |||
224 | :repeatable nil | 224 | :repeatable nil |
225 | :shorthand (lambda (sexp) | 225 | :shorthand (lambda (sexp) |
226 | (let ((recipe (cadr sexp))) | 226 | (let ((recipe (cadr sexp))) |
227 | (if (consp recipe) (car recipe) recipe))))) | 227 | (if (consp recipe) (car recipe) recipe)))) |
228 | ;; Hotfix | ||
229 | (setup-define :file-match | ||
230 | (lambda (pat) | ||
231 | `(add-to-list 'auto-mode-alist (cons ,pat ',(setup-get 'mode)))) | ||
232 | :documentation "Associate the current mode with files that match PAT." | ||
233 | :debug '(form) | ||
234 | :repeatable t)) | ||
228 | 235 | ||
229 | ;;; `no-littering' | 236 | ;;; `no-littering' |
230 | (setup (:straight no-littering) | 237 | (setup (:straight no-littering) |