inhibit bogus cursor jump.

This commit is contained in:
Amos Bird 2019-10-19 02:54:28 +08:00
parent f6584d45b3
commit 0f885d6fcd
No known key found for this signature in database
GPG key ID: 80D430DCBECFEDB4

View file

@ -1121,8 +1121,8 @@ Requires `anzu', also `evil-anzu' if using `evil-mode' for compatibility with
(propertize
(let ((this-oc (or (let ((inhibit-message t))
(iedit-find-current-occurrence-overlay))
(progn (iedit-prev-occurrence)
(iedit-find-current-occurrence-overlay))))
(save-excursion (iedit-prev-occurrence)
(iedit-find-current-occurrence-overlay))))
(length (length iedit-occurrences-overlays)))
(format " %s/%d "
(if this-oc