branch: master
commit b5615dcfc764b68650b6d7338f5c52c1ac75913c
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    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