all repos — nixfiles @ 8764129f217735ef7873a7788065d9afeaa99d81

System and user configuration, managed by nix and home-manager

Emacs: correctly organise minibuffer/modeline code
Alan Pearce alan@alanpearce.eu
Mon, 17 Jun 2019 22:14:54 +0200
commit

8764129f217735ef7873a7788065d9afeaa99d81

parent

d7a5b866815d3b816dcc55867391cf029bc6ef96

1 files changed, 8 insertions(+), 8 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -120,14 +120,19 @@ (which-key-setup-side-window-right-bottom))) 
 ;;; Modeline
 
+(use-package relative-buffers
+  :custom ((global-relative-buffers-mode t)))
+
+;;; Minibuffer
+
+(setq enable-recursive-minibuffers t)
+(minibuffer-depth-indicate-mode t)
+
 (use-package ivy
   :config (progn
             (ivy-mode +1)))
 (use-package ivy-hydra)
 
-(use-package relative-buffers
-  :custom ((global-relative-buffers-mode t)))
-
 ;; transition smex history to amx
 (let ((smex-save-file (concat user-emacs-directory "smex-items")))
   (use-package amx
@@ -136,11 +141,6 @@ (use-package counsel
   :commands (counsel-unicode-char)
   :general ("M-x" #'counsel-M-x))
-
-;;; Minibuffer
-
-(setq enable-recursive-minibuffers t)
-(minibuffer-depth-indicate-mode t)
 
 ;;; Windows