aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2015-08-06 13:39:00 +0200
committerJonas Bernoulli <jonas@bernoul.li>2015-08-06 13:39:00 +0200
commitd62b5b398c049793bf0a5b995374a5453c158fde (patch)
tree4f951681cdaeadf0f49bf0e774e4b657811ccc96 /Documentation
parentba3334e1825e5fd8d58dfb207effda9f28c48b3d (diff)
magit-popup.org: mention how to make default action bold
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/magit-popup.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/magit-popup.org b/Documentation/magit-popup.org
index 4ac94f2..84b18ae 100644
--- a/Documentation/magit-popup.org
+++ b/Documentation/magit-popup.org
@@ -348,6 +348,12 @@ is:
The Emacs package used to display man-pages, one of ~man~ or ~woman~.
+To emphasize the default action by making it bold use this:
+
+#+BEGIN_SRC emacs-lisp
+ (button-type-put 'magit-popup-action-button 'format " %k %D")
+#+END_SRC
+
* Defining prefix and suffix commands
If you write an extension for Magit then you should use this library