diff options
-rw-r--r-- | init.org | 3 | ||||
-rw-r--r-- | lib/eos/jao-minibuffer.el | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -224,7 +224,8 @@ #+end_src *** Keyboard and hydra #+begin_src emacs-lisp - (use-package repeat) + (use-package repeat + :config (setq repeat-echo-function #'repeat-echo-mode-line)) (when (> emacs-major-version 27) (repeat-mode)) (use-package hydra :ensure t) diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el index df92d3f..fe49615 100644 --- a/lib/eos/jao-minibuffer.el +++ b/lib/eos/jao-minibuffer.el @@ -96,6 +96,8 @@ (defconst jao-minibuffer--circe '(circe-chat-target (:eval (format " [%d]" (length (circe-channel-nicks)))))) +(defvar repeat-in-progress nil) + (defvar jao-minibuffer--mode-line-format `(" %[" (:eval (if (derived-mode-p 'gnus-group-mode @@ -106,6 +108,7 @@ "%]" (:propertize ,jao-minibuffer--circe face jao-themes-dimm) " %+ " + (repeat-in-progress repeat-echo-mode-line-string) (:propertize mode-name face jao-themes-f00) (:propertize ("" minor-mode-alist (vc-mode vc-mode)) face jao-themes-f11) (:propertize (doc-view-doc-type |