diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/init.el b/init.el index df55ae8..4cdc31a 100644 --- a/init.el +++ b/init.el | |||
@@ -157,6 +157,11 @@ | |||
157 | calendar-latitude _location-latitude | 157 | calendar-latitude _location-latitude |
158 | calendar-longitude _location-longitude)) | 158 | calendar-longitude _location-longitude)) |
159 | 159 | ||
160 | (setup compile | ||
161 | (:option compilation-always-kill t | ||
162 | compilation-ask-about-save nil | ||
163 | compilation-scroll-output t)) | ||
164 | |||
160 | (setup cus-edit | 165 | (setup cus-edit |
161 | ;; I don't use Custom to actually /make/ any customizations, but it's handy to | 166 | ;; I don't use Custom to actually /make/ any customizations, but it's handy to |
162 | ;; (A) see what options are available and (B) persist some changes across | 167 | ;; (A) see what options are available and (B) persist some changes across |
@@ -398,13 +403,13 @@ | |||
398 | (dolist (fn | 403 | (dolist (fn |
399 | ;; All available cape capfs listed here. Add them to the front since | 404 | ;; All available cape capfs listed here. Add them to the front since |
400 | ;; they're reversed with `add-to-list'. | 405 | ;; they're reversed with `add-to-list'. |
401 | '(;;cape-dict | 406 | '(cape-file |
402 | cape-ispell | ||
403 | cape-abbrev | ||
404 | cape-keyword | ||
405 | cape-dabbrev | 407 | cape-dabbrev |
406 | cape-file)) | 408 | cape-keyword |
407 | (add-to-list 'completion-at-point-functions fn))) | 409 | cape-abbrev |
410 | cape-ispell | ||
411 | ;;cape-dict)) | ||
412 | (add-to-list 'completion-at-point-functions fn :append))))) | ||
408 | 413 | ||
409 | (setup (:straight (capf-autosuggest | 414 | (setup (:straight (capf-autosuggest |
410 | :host nil | 415 | :host nil |
@@ -663,6 +668,13 @@ See also `crux-reopen-as-root-mode'." | |||
663 | (:load-after consult embark) | 668 | (:load-after consult embark) |
664 | (add-hook 'embark-collect-mode-hook #'consult-preview-at-point-mode)) | 669 | (add-hook 'embark-collect-mode-hook #'consult-preview-at-point-mode)) |
665 | 670 | ||
671 | (setup (:straight epithet) | ||
672 | (dolist (hook '(Info-selection-hook | ||
673 | eww-after-render-hook | ||
674 | help-mode-hook | ||
675 | occur-mode-hook)) | ||
676 | (add-hook hook #'epithet-rename-buffer))) | ||
677 | |||
666 | (setup (:straight eros) | 678 | (setup (:straight eros) |
667 | (:hook-into emacs-lisp-mode | 679 | (:hook-into emacs-lisp-mode |
668 | lisp-interaction-mode)) | 680 | lisp-interaction-mode)) |