diff options
-rw-r--r-- | init.el | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/init.el b/init.el index b4b692c..855bfff 100644 --- a/init.el +++ b/init.el | |||
@@ -840,9 +840,9 @@ | |||
840 | ;;; Packages | 840 | ;;; Packages |
841 | 841 | ||
842 | (setup (:require gforth) | 842 | (setup (:require gforth) |
843 | (autoload 'forth-mode "gforth") | 843 | (:autoload forth-mode |
844 | forth-block-mode) | ||
844 | (add-to-list 'auto-mode-alist '("\\.fs\\'" . forth-mode)) | 845 | (add-to-list 'auto-mode-alist '("\\.fs\\'" . forth-mode)) |
845 | (autoload 'forth-block-mode "gforth") | ||
846 | (add-to-list 'auto-mode-alist '("\\.fb\\'" . forth-block-mode))) | 846 | (add-to-list 'auto-mode-alist '("\\.fb\\'" . forth-block-mode))) |
847 | 847 | ||
848 | (setup (:straight (0x0 :host gitlab | 848 | (setup (:straight (0x0 :host gitlab |
@@ -952,7 +952,7 @@ | |||
952 | 952 | ||
953 | 953 | ||
954 | ;; Registers | 954 | ;; Registers |
955 | (autoload 'consult-register-preview "consult") | 955 | (:autoload consult-register-preview) |
956 | (:option register-preview-delay 0 | 956 | (:option register-preview-delay 0 |
957 | register-preview-function #'consult-register-format) | 957 | register-preview-function #'consult-register-format) |
958 | (:advise register-preview :override #'consult-register-window) | 958 | (:advise register-preview :override #'consult-register-window) |
@@ -1006,8 +1006,8 @@ | |||
1006 | 1006 | ||
1007 | (:hook acdw/reading-mode) | 1007 | (:hook acdw/reading-mode) |
1008 | 1008 | ||
1009 | (autoload 'elpher-bookmarks "elpher" nil t) | 1009 | (:autoload (elpher-bookmarks :interactive t) |
1010 | (autoload 'elpher-go "elpher" nil t) | 1010 | (elpher-go :interactive t)) |
1011 | 1011 | ||
1012 | ;; Make `eww' gemini/gopher aware. From Emacswiki. | 1012 | ;; Make `eww' gemini/gopher aware. From Emacswiki. |
1013 | ;; (define-advice eww-browse-url (:around (fn url &rest args) gemini-elpher) | 1013 | ;; (define-advice eww-browse-url (:around (fn url &rest args) gemini-elpher) |
@@ -1166,8 +1166,7 @@ | |||
1166 | (_ 'message)))) | 1166 | (_ 'message)))) |
1167 | 1167 | ||
1168 | (setup (:straight async) | 1168 | (setup (:straight async) |
1169 | (autoload 'dired-async-mode "dired-async.el" nil t) | 1169 | (:autoload (dired-async-mode :interactive t)) |
1170 | |||
1171 | (dired-async-mode +1) | 1170 | (dired-async-mode +1) |
1172 | 1171 | ||
1173 | (add-hook 'dired-mode | 1172 | (add-hook 'dired-mode |
@@ -1385,6 +1384,10 @@ | |||
1385 | (setup (:straight eros) | 1384 | (setup (:straight eros) |
1386 | (:hook-into emacs-lisp-mode)) | 1385 | (:hook-into emacs-lisp-mode)) |
1387 | 1386 | ||
1387 | (setup (:straight esh-autosuggest) | ||
1388 | (:autoload esh-autosuggest-mode) | ||
1389 | (:hook-into eshell-mode)) | ||
1390 | |||
1388 | (setup (:straight expand-region) | 1391 | (setup (:straight expand-region) |
1389 | (:global "C-=" #'er/expand-region | 1392 | (:global "C-=" #'er/expand-region |
1390 | "C-SPC" | 1393 | "C-SPC" |
@@ -1899,7 +1902,7 @@ If used with a numeric prefix argument N, N backticks will be inserted." | |||
1899 | 1902 | ||
1900 | (setup (:straight-if fennel-mode | 1903 | (setup (:straight-if fennel-mode |
1901 | (executable-find "fennel")) | 1904 | (executable-find "fennel")) |
1902 | (autoload 'fennel-repl "fennel-mode" nil t) | 1905 | (:autoload (fennel-repl :interactive t)) |
1903 | (:file-match (rx ".fnl" eos))) | 1906 | (:file-match (rx ".fnl" eos))) |
1904 | 1907 | ||
1905 | (setup (:straight-if geiser | 1908 | (setup (:straight-if geiser |