From a80f901a345aaa8e0ca3c883ec05264e70b6d12e Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 16 Sep 2020 20:23:08 -0500 Subject: [PATCH] Allow recursive minibuffers --- early-init.el | 9 +++++---- 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 @@ ;;(setq debug-on-error t) ;;; different platforms -(setq acdw/at-work (eq system-type 'windows-nt)) -(setq acdw/at-larry (string= (system-name) "larry")) -(setq acdw/at-bax (string= (system-name) "bax")) +(defconst *acdw/at-work* (eq system-type 'windows-nt)) +(defconst *acdw/at-larry* (string= (system-name) "larry")) +(defconst *acdw/at-bax* (string= (system-name) "bax")) +(defconst *acdw/at-home* (or *acdw/at-larry* *acdw/at-bax*)) ;; this needs to be before bootstrapping straight.el -(when acdw/at-work +(when *acdw/at-work* (add-to-list 'exec-path "~/bin") (add-to-list 'exec-path "C:/Users/aduckworth/Downloads/PortableGit/bin")) diff --git a/init.el b/init.el index 1680c74..ede4118 100644 --- a/init.el +++ b/init.el @@ -174,6 +174,8 @@ (use-package selectrum :config (ido-mode -1) ;; not sure why this is necessary + (setq enable-recursive-minibuffers t) + (minibuffer-depth-indicate-mode) (selectrum-mode 1)) (use-package prescient)