From 8ded7258e5bdffdf6808dfb0e6731b4e23f50cff Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Sat, 18 Apr 2015 19:12:02 +0200 Subject: [PATCH] hydra.el (hydra--input-method-function): Move before first use --- hydra.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hydra.el b/hydra.el index 7fc9d7e..89254b6 100644 --- a/hydra.el +++ b/hydra.el @@ -123,6 +123,9 @@ warn: keep KEYMAP and issue a warning instead of running the command." (defvar hydra--ignore nil "When non-nil, don't call `hydra-curr-on-exit'") +(defvar hydra--input-method-function nil + "Store overridden `input-method-function' here.") + (defun hydra-disable () "Disable the current Hydra." (remove-hook 'pre-command-hook 'hydra--clearfun) @@ -358,9 +361,6 @@ Return DEFAULT if PROP is not in H." ((blue teal) t) (t nil))))) -(defvar hydra--input-method-function nil - "Store overridden `input-method-function' here.") - (defun hydra-default-pre () "Default setup that happens in each head before :pre." (when (eq input-method-function 'key-chord-input-method)