Fix byte compiler warnings

* hydra.el: Require ring.

* hydra-ox.el: Declare functions.
master
Oleh Krehel 10 years ago
parent 76d51ecd41
commit 3527b321ce
  1. 7
      hydra-ox.el
  2. 1
      hydra.el

@ -27,6 +27,13 @@
(require 'hydra) (require 'hydra)
(require 'org) (require 'org)
(declare-function org-html-export-as-html 'ox-html)
(declare-function org-html-export-to-html 'ox-html)
(declare-function org-latex-export-as-latex 'ox-latex)
(declare-function org-latex-export-to-latex 'ox-latex)
(declare-function org-latex-export-to-pdf 'ox-latex)
(declare-function org-ascii-export-as-ascii 'ox-ascii)
(declare-function org-ascii-export-to-ascii 'ox-ascii)
(defhydradio hydra-ox () (defhydradio hydra-ox ()
(body-only "Export only the body.") (body-only "Export only the body.")

@ -82,6 +82,7 @@
;;* Requires ;;* Requires
(require 'cl-lib) (require 'cl-lib)
(require 'lv) (require 'lv)
(require 'ring)
(defvar hydra-curr-map nil (defvar hydra-curr-map nil
"The keymap of the current Hydra called.") "The keymap of the current Hydra called.")

Loading…
Cancel
Save