emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 713fd6d 049/167: Try to fix the previous commit


From: Oleh Krehel
Subject: [elpa] master 713fd6d 049/167: Try to fix the previous commit
Date: Tue, 08 Dec 2015 10:49:50 +0000

branch: master
commit 713fd6d23e8ae04b97fa72472e94dc8ff52249db
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Try to fix the previous commit
    
    * ivy.el (ivy--exhibit): Update.
    
    Sometimes the cursor randomly moves to the start of the read-only prompt
    and it's impossible to move it.
---
 ivy.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ivy.el b/ivy.el
index 0e1d141..7420afe 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1454,7 +1454,8 @@ Insert .* between each char."
   "Insert Ivy completions display.
 Should be run via minibuffer `post-command-hook'."
   (when (memq 'ivy--exhibit post-command-hook)
-    (constrain-to-field nil (point-max))
+    (let ((inhibit-field-text-motion nil))
+      (constrain-to-field nil (point-max)))
     (setq ivy-text (ivy--input))
     (if (ivy-state-dynamic-collection ivy-last)
         ;; while-no-input would cause annoying



reply via email to

[Prev in Thread] Current Thread [Next in Thread]