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

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

[elpa] master b5615dc 3/8: hydra-examples.el: Update commentary


From: Oleh Krehel
Subject: [elpa] master b5615dc 3/8: hydra-examples.el: Update commentary
Date: Fri, 30 Jan 2015 16:18:50 +0000

branch: master
commit b5615dcfc764b68650b6d7338f5c52c1ac75913c
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    hydra-examples.el: Update commentary
---
 hydra-examples.el |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/hydra-examples.el b/hydra-examples.el
index c1b02df..834db70 100644
--- a/hydra-examples.el
+++ b/hydra-examples.el
@@ -22,6 +22,15 @@
 ;;; Commentary:
 ;;
 ;; These are the sample Hydras that you can use.
+;;
+;; Note that the better way to create Hydras is with `defhydra':
+;;
+;; (defhydra hydra-zoom (global-map "<f2>")
+;;   "zoom"
+;;   ("g" text-scale-increase "in")
+;;   ("l" text-scale-decrease "out"))
+;;
+;; This way, you have more options, and everything is in one place.
 
 ;;; Code:
 



reply via email to

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