summary refs log tree commit diff stats
path: root/early-init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-09-03 21:49:48 -0500
committerCase Duckworth2021-09-03 21:49:48 -0500
commit9b1789697d0afd39dae003ca800bab0db73de05b (patch)
tree7de05a4f34a8e6fc7771851aaf165a7c97285e1e /early-init.el
parentBind C-h m to which-key-show-major-mode (diff)
downloademacs-9b1789697d0afd39dae003ca800bab0db73de05b.tar.gz
emacs-9b1789697d0afd39dae003ca800bab0db73de05b.zip
Big refactor
Diffstat (limited to 'early-init.el')
-rw-r--r--early-init.el9
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)