summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-08-25 23:06:37 -0500
committerCase Duckworth2021-08-25 23:06:37 -0500
commit76d52ffcabf4ac46473d953ddcbbd5a762f8c1c1 (patch)
tree3cca31b59e0c2db3bfbd9402e649c63980b64118 /init.el
parentFix ace-link loading bug (diff)
downloademacs-76d52ffcabf4ac46473d953ddcbbd5a762f8c1c1.tar.gz
emacs-76d52ffcabf4ac46473d953ddcbbd5a762f8c1c1.zip
Fix weird `setup' bug with `:file-match'
Diffstat (limited to 'init.el')
-rw-r--r--init.el23
1 files changed, 12 insertions, 11 deletions
diff --git a/init.el b/init.el index 799e1db..4992104 100644 --- a/init.el +++ b/init.el
@@ -1316,7 +1316,7 @@ successive invocations."
1316(setup (:straight fennel-mode) 1316(setup (:straight fennel-mode)
1317 (:needs "fennel") 1317 (:needs "fennel")
1318 (autoload 'fennel-repl "fennel-mode" nil t) 1318 (autoload 'fennel-repl "fennel-mode" nil t)
1319 (:file-match "\\.fnl\\'")) 1319 (add-to-list 'auto-mode-alist '("\\.fnl\\'" . fennel-mode)))
1320 1320
1321(setup (:straight gcmh) 1321(setup (:straight gcmh)
1322 (:option gcmh-idle-delay 'auto) 1322 (:option gcmh-idle-delay 'auto)
@@ -1327,7 +1327,7 @@ successive invocations."
1327(setup (:straight (gemini-mode 1327(setup (:straight (gemini-mode
1328 :host nil 1328 :host nil
1329 :repo "https://git.carcosa.net/jmcbray/gemini.el.git")) 1329 :repo "https://git.carcosa.net/jmcbray/gemini.el.git"))
1330 (:file-match "\\.\\(gemini\\|gmi\\)\\'") 1330 (add-to-list 'auto-mode-alist '("\\.\\(gemini\\|gmi\\)\\'" . gemini-mode))
1331 (:hook turn-off-auto-fill)) 1331 (:hook turn-off-auto-fill))
1332 1332
1333(setup gforth 1333(setup gforth
@@ -1371,7 +1371,7 @@ successive invocations."
1371 (:needs "ledger")) 1371 (:needs "ledger"))
1372 1372
1373(setup (:straight lua-mode) 1373(setup (:straight lua-mode)
1374 (:file-match "\\.lua\\'")) 1374 (add-to-list 'auto-mode-alist '("\\.lua\\'" . lua-mode)))
1375 1375
1376(setup (:straight magit) 1376(setup (:straight magit)
1377 (:global "C-c g" magit-status) 1377 (:global "C-c g" magit-status)
@@ -1417,7 +1417,7 @@ successive invocations."
1417 1417
1418(setup (:straight nov) 1418(setup (:straight nov)
1419 (:option nov-text-width fill-column) 1419 (:option nov-text-width fill-column)
1420 (:file-match "\\.epub\\'")) 1420 (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)))
1421 1421
1422(setup (:straight package-lint)) 1422(setup (:straight package-lint))
1423 1423
@@ -1768,13 +1768,14 @@ successive invocations."
1768 (:option css-level-offset 2 1768 (:option css-level-offset 2
1769 js-indent-level 2 1769 js-indent-level 2
1770 sgml-indent-offset 2) 1770 sgml-indent-offset 2)
1771 (:file-match "\\.\\(p\\|dj\\)?html\\'" 1771 (dolist (ext '("\\.\\(p\\|dj\\)?html\\'"
1772 "\\.html?\\'" 1772 "\\.html?\\'"
1773 "\\.\\(tpl\\.\\)?php\\'" 1773 "\\.\\(tpl\\.\\)?php\\'"
1774 "\\.[agj]sp\\'" 1774 "\\.[agj]sp\\'"
1775 "\\.as[cp]x\\'" 1775 "\\.as[cp]x\\'"
1776 "\\.erb\\'" 1776 "\\.erb\\'"
1777 "\\.mustache\\'")) 1777 "\\.mustache\\'"))
1778 (add-to-list 'auto-mode-alist `(,ext . web-mode))))
1778 1779
1779(setup (:straight which-key) 1780(setup (:straight which-key)
1780 (:option which-key-show-early-on-C-h t 1781 (:option which-key-show-early-on-C-h t