swiper.el (swiper--update-input-ivy): When there's no input yet, don't
move point.
Re #125
(let ((pt (point))
(le (line-end-position)))
(forward-word 1)
- (setf (window-point) (point))
(if (> (point) le)
(goto-char pt)
(setq amend (buffer-substring-no-properties pt (point))))))
(when (cl-plusp num)
(goto-char (point-min))
(forward-line (1- num))
- (re-search-forward re (line-end-position) t)
+ (if (and (equal ivy-text "")
+ (>= swiper--opoint (line-beginning-position))
+ (<= swiper--opoint (line-end-position)))
+ (goto-char swiper--opoint)
+ (re-search-forward re (line-end-position) t))
(isearch-range-invisible (line-beginning-position)
(line-end-position))
(unless (and (>= (point) (window-start))