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

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

[elpa] externals/marginalia 5802a5d 118/241: readme: configuration examp


From: Stefan Monnier
Subject: [elpa] externals/marginalia 5802a5d 118/241: readme: configuration example for selectrum refresh after marginalia-cycle
Date: Fri, 28 May 2021 20:49:09 -0400 (EDT)

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

    readme: configuration example for selectrum refresh after marginalia-cycle
---
 README.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/README.md b/README.md
index 0c6fa5d..92631a9 100644
--- a/README.md
+++ b/README.md
@@ -51,6 +51,10 @@ 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.
+  (advice-add #'marginalia-cycle :after #'selectrum-exhibit)
+
   ;; Prefer richer, more heavy, annotations over the lighter default variant.
   ;; E.g. M-x will show the documentation string additional to the keybinding.
   ;; By default only the keybinding is shown as annotation.



reply via email to

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