]> code.delx.au - gnu-emacs-elpa/commitdiff
ivy.el (ivy--minibuffer-setup): Ensure inhibit-field-text-motion is nil
authorOleh Krehel <ohwoeowho@gmail.com>
Mon, 4 Apr 2016 14:58:40 +0000 (16:58 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Mon, 4 Apr 2016 14:58:40 +0000 (16:58 +0200)
It's normally nil, but may become t when debugging stuff. And that trips
up ivy.

ivy.el

diff --git a/ivy.el b/ivy.el
index 86021d61710dfe0ec320065ab366bb6728db0921..000d68e07fc431351a0bf00e050f26d71428044f 100644 (file)
--- a/ivy.el
+++ b/ivy.el
@@ -1797,6 +1797,7 @@ depending on the number of candidates."
   (set (make-local-variable 'minibuffer-default-add-function)
        (lambda ()
          (list ivy--default)))
+  (set (make-local-variable 'inhibit-field-text-motion) nil)
   (when (display-graphic-p)
     (setq truncate-lines t))
   (setq-local max-mini-window-height ivy-height)