From 8e4d03f44d7467a7d54c0aa47086ddea3a73b859 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 30 Dec 2021 23:07:58 -0600 Subject: More stuff --- init.el | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index df55ae8..4cdc31a 100644 --- a/init.el +++ b/init.el @@ -157,6 +157,11 @@ calendar-latitude _location-latitude calendar-longitude _location-longitude)) +(setup compile + (:option compilation-always-kill t + compilation-ask-about-save nil + compilation-scroll-output t)) + (setup cus-edit ;; I don't use Custom to actually /make/ any customizations, but it's handy to ;; (A) see what options are available and (B) persist some changes across @@ -398,13 +403,13 @@ (dolist (fn ;; All available cape capfs listed here. Add them to the front since ;; they're reversed with `add-to-list'. - '(;;cape-dict - cape-ispell - cape-abbrev - cape-keyword + '(cape-file cape-dabbrev - cape-file)) - (add-to-list 'completion-at-point-functions fn))) + cape-keyword + cape-abbrev + cape-ispell + ;;cape-dict)) + (add-to-list 'completion-at-point-functions fn :append))))) (setup (:straight (capf-autosuggest :host nil @@ -663,6 +668,13 @@ See also `crux-reopen-as-root-mode'." (:load-after consult embark) (add-hook 'embark-collect-mode-hook #'consult-preview-at-point-mode)) +(setup (:straight epithet) + (dolist (hook '(Info-selection-hook + eww-after-render-hook + help-mode-hook + occur-mode-hook)) + (add-hook hook #'epithet-rename-buffer))) + (setup (:straight eros) (:hook-into emacs-lisp-mode lisp-interaction-mode)) -- cgit 1.4.1-21-gabe81