]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/hydra/hydra-examples.el
Merge commit '06b63f1d718d12d15aaf9459b492944203764d2f' from hydra
[gnu-emacs-elpa] / packages / hydra / hydra-examples.el
index c1b02dfdc145afc46cca76761ffec2eb030ca9b5..834db70d790f7334cd2d5e17205b5bc2c37d79c0 100644 (file)
 ;;; 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: