]> code.delx.au - gnu-emacs-elpa/commitdiff
ivy.el (ivy-completion-in-region): Bind completion-ignore-case
authorOleh Krehel <ohwoeowho@gmail.com>
Fri, 19 Feb 2016 13:36:09 +0000 (14:36 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Fri, 19 Feb 2016 13:36:09 +0000 (14:36 +0100)
It's convenient to have it the same value as `case-fold-search'.

ivy.el

diff --git a/ivy.el b/ivy.el
index ebd1c96345e02edc27620f1a264d89df1770685b..26f616727114d20f337142b8741736ad6ec444e7 100644 (file)
--- a/ivy.el
+++ b/ivy.el
@@ -1515,6 +1515,7 @@ The previous string is between `ivy-completion-beg' and `ivy-completion-end'."
   "An Ivy function suitable for `completion-in-region-function'."
   (let* ((enable-recursive-minibuffers t)
          (str (buffer-substring-no-properties start end))
+         (completion-ignore-case case-fold-search)
          (comps
           (completion-all-completions str collection predicate (- end start))))
     (if (null comps)