diff options
author | Case Duckworth | 2020-09-16 20:23:08 -0500 |
---|---|---|
committer | Case Duckworth | 2020-09-16 20:23:08 -0500 |
commit | a80f901a345aaa8e0ca3c883ec05264e70b6d12e (patch) | |
tree | e04e4ef4d02c0e190f1c6a92ba739f0842f60a5e | |
parent | Change acdw/at-* variables to constants with earmuffs (diff) | |
download | emacs-a80f901a345aaa8e0ca3c883ec05264e70b6d12e.tar.gz emacs-a80f901a345aaa8e0ca3c883ec05264e70b6d12e.zip |
Allow recursive minibuffers
-rw-r--r-- | early-init.el | 9 | ||||
-rw-r--r-- | init.el | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/early-init.el b/early-init.el index 5e28f4d..e7595a9 100644 --- a/early-init.el +++ b/early-init.el | |||
@@ -17,12 +17,13 @@ | |||
17 | ;;(setq debug-on-error t) | 17 | ;;(setq debug-on-error t) |
18 | 18 | ||
19 | ;;; different platforms | 19 | ;;; different platforms |
20 | (setq acdw/at-work (eq system-type 'windows-nt)) | 20 | (defconst *acdw/at-work* (eq system-type 'windows-nt)) |
21 | (setq acdw/at-larry (string= (system-name) "larry")) | 21 | (defconst *acdw/at-larry* (string= (system-name) "larry")) |
22 | (setq acdw/at-bax (string= (system-name) "bax")) | 22 | (defconst *acdw/at-bax* (string= (system-name) "bax")) |
23 | (defconst *acdw/at-home* (or *acdw/at-larry* *acdw/at-bax*)) | ||
23 | 24 | ||
24 | ;; this needs to be before bootstrapping straight.el | 25 | ;; this needs to be before bootstrapping straight.el |
25 | (when acdw/at-work | 26 | (when *acdw/at-work* |
26 | (add-to-list 'exec-path "~/bin") | 27 | (add-to-list 'exec-path "~/bin") |
27 | (add-to-list 'exec-path "C:/Users/aduckworth/Downloads/PortableGit/bin")) | 28 | (add-to-list 'exec-path "C:/Users/aduckworth/Downloads/PortableGit/bin")) |
28 | 29 | ||
diff --git a/init.el b/init.el index 1680c74..ede4118 100644 --- a/init.el +++ b/init.el | |||
@@ -174,6 +174,8 @@ | |||
174 | (use-package selectrum | 174 | (use-package selectrum |
175 | :config | 175 | :config |
176 | (ido-mode -1) ;; not sure why this is necessary | 176 | (ido-mode -1) ;; not sure why this is necessary |
177 | (setq enable-recursive-minibuffers t) | ||
178 | (minibuffer-depth-indicate-mode) | ||
177 | (selectrum-mode 1)) | 179 | (selectrum-mode 1)) |
178 | 180 | ||
179 | (use-package prescient) | 181 | (use-package prescient) |