emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/marginalia d37e9a5 129/241: fix #33


From: Stefan Monnier
Subject: [elpa] externals/marginalia d37e9a5 129/241: fix #33
Date: Fri, 28 May 2021 20:49:12 -0400 (EDT)

branch: externals/marginalia
commit d37e9a5a6f38679118ea674ad6288cfb33e8e88a
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    fix #33
---
 README.md | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index 4e50766..a873e38 100644
--- a/README.md
+++ b/README.md
@@ -40,9 +40,12 @@ commands.
 ~~~ elisp
 ;; Enable richer annotations using the Marginalia package
 (use-package marginalia
-  ;; When using the Embark package, you can bind `marginalia-cycle' as an 
Embark action!
-  ;; :bind (:map embark-general-map
-  ;;        ("A" . marginalia-cycle))
+  :bind (:map minibuffer-local-map
+              ("C-M-a" . marginalia-cycle)
+         ;; When using the Embark package, you can bind `marginalia-cycle' as 
an Embark action!
+         ;;:map embark-general-map
+         ;;     ("A" . marginalia-cycle)
+        )
 
   ;; The :init configuration is always executed (Not lazy!)
   :init
@@ -51,8 +54,7 @@ commands.
   ;; enabled right away. Note that this forces loading the package.
   (marginalia-mode)
 
-  ;; When using Selectrum and `marginalia-cycle' as an Embark action,
-  ;; ensure that Selectrum is refreshed when cycling annotations.
+  ;; When using Selectrum, ensure that Selectrum is refreshed when cycling 
annotations.
   (advice-add #'marginalia-cycle :after
               (lambda () (when (bound-and-true-p selectrum-mode) 
(selectrum-exhibit))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]