]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/hydra/hydra-ox.el
Merge commit '97c2270f7138530de21f773f094c1495498cac78' from hydra
[gnu-emacs-elpa] / packages / hydra / hydra-ox.el
index 40530813f5c287cab7dca4187ee4f01045939938..e8d48e34a5827764afe8791bae9016b027ba7198 100644 (file)
 ;; This shows how a complex dispatch menu can be built with Hydra.
 
 ;;; Code:
+
+(require 'hydra)
 (require 'org)
+(require 'hydra)                        ;`defhydradio' is not autoloaded!
 
 (defhydradio hydra-ox ()
-  (body-only)
-  (export-scope [buffer subtree])
-  (async-export)
-  (visible-only)
-  (force-publishing))
+  (body-only "Export only the body.")
+  (export-scope "Export scope." [buffer subtree])
+  (async-export "When non-nil, export async.")
+  (visible-only "When non-nil, export visible only")
+  (force-publishing "Toggle force publishing"))
 
 (defhydra hydra-ox-html (:color blue)
   "ox-html"