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

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

[elpa] externals/embark e758c68e6a 3/4: Explain that the tab-bar example


From: ELPA Syncer
Subject: [elpa] externals/embark e758c68e6a 3/4: Explain that the tab-bar example configuration now comes with Embark
Date: Wed, 16 Feb 2022 16:57:29 -0500 (EST)

branch: externals/embark
commit e758c68e6ae18269fbcf4fef073b51228ed2c3d8
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>

    Explain that the tab-bar example configuration now comes with Embark
---
 README.org  | 13 ++++++++-----
 embark.texi | 13 ++++++++-----
 2 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/README.org b/README.org
index 8e99804778..6421fc3e01 100644
--- a/README.org
+++ b/README.org
@@ -597,11 +597,14 @@ similar situations where the easiest option is not 
available.
 
 *** New minibuffer target example - tab-bar tabs
 
-Say you use the new 
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Tab-Bars.html][tab 
bars]] from Emacs 27 and you want Embark to
-offer tab-specific actions when you use the tab-bar-mode commands
-that mention tabs by name. You would need to: (1) make sure Embark
-knows those commands deal with tabs, (2) define a keymap for tab
-actions and configure Embark so it knows that's the keymap you want.
+As an example, take the new 
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Tab-Bars.html][tab 
bars]] from Emacs 27. I'll explain how
+to configure Embark to offer tab-specific actions when you use the
+tab-bar-mode commands that mention tabs by name. The configuration
+explained here is now built-in to Embark (and Marginalia), but it's
+still a good self-contained example. In order to setup up tab actions
+you would need to: (1) make sure Embark knows those commands deal with
+tabs, (2) define a keymap for tab actions and configure Embark so it
+knows that's the keymap you want.
 
 **** Telling Embark about commands that prompt for tabs by name
 
diff --git a/embark.texi b/embark.texi
index dcc0b52d4c..32b4b3bdd6 100644
--- a/embark.texi
+++ b/embark.texi
@@ -738,11 +738,14 @@ similar situations where the easiest option is not 
available.
 @node New minibuffer target example - tab-bar tabs
 @subsection New minibuffer target example - tab-bar tabs
 
-Say you use the new 
@uref{https://www.gnu.org/software/emacs/manual/html_node/emacs/Tab-Bars.html, 
tab bars} from Emacs 27 and you want Embark to
-offer tab-specific actions when you use the tab-bar-mode commands
-that mention tabs by name. You would need to: (1) make sure Embark
-knows those commands deal with tabs, (2) define a keymap for tab
-actions and configure Embark so it knows that's the keymap you want.
+As an example, take the new 
@uref{https://www.gnu.org/software/emacs/manual/html_node/emacs/Tab-Bars.html, 
tab bars} from Emacs 27. I'll explain how
+to configure Embark to offer tab-specific actions when you use the
+tab-bar-mode commands that mention tabs by name. The configuration
+explained here is now built-in to Embark (and Marginalia), but it's
+still a good self-contained example. In order to setup up tab actions
+you would need to: (1) make sure Embark knows those commands deal with
+tabs, (2) define a keymap for tab actions and configure Embark so it
+knows that's the keymap you want.
 
 @enumerate
 @item



reply via email to

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