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

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

[elpa] externals/marginalia c9fb2d029b 2/2: Update example configuration


From: ELPA Syncer
Subject: [elpa] externals/marginalia c9fb2d029b 2/2: Update example configuration
Date: Wed, 17 May 2023 08:59:10 -0400 (EDT)

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

    Update example configuration
---
 README.org | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/README.org b/README.org
index 07d100d7a1..f23b0ac2fe 100644
--- a/README.org
+++ b/README.org
@@ -40,16 +40,18 @@ with [[https://github.com/oantolin/embark][Embark]] for 
action support and [[htt
 #+begin_src emacs-lisp
 ;; Enable rich annotations using the Marginalia package
 (use-package marginalia
-  ;; Either bind `marginalia-cycle' globally or only in the minibuffer
-  :bind (("M-A" . marginalia-cycle)
-         :map minibuffer-local-map
+  ;; Bind `marginalia-cycle' locally in the minibuffer.  To make the binding
+  ;; available in the *Completions* buffer, add it to the
+  ;; `completion-list-mode-map'.
+  :bind (:map minibuffer-local-map
          ("M-A" . marginalia-cycle))
 
-  ;; The :init configuration is always executed (Not lazy!)
+  ;; The :init section is always executed.
   :init
 
-  ;; Must be in the :init section of use-package such that the mode gets
-  ;; enabled right away. Note that this forces loading the package.
+  ;; Marginalia must be actived in the :init section of use-package such that
+  ;; the mode gets enabled right away. Note that this forces loading the
+  ;; package.
   (marginalia-mode))
 #+end_src
 



reply via email to

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