Silence iedit messages emitted from modeline segment

This commit is contained in:
Henrik Lissner 2016-06-05 00:56:49 -04:00
parent 6cd8c852c4
commit d73292d4bd

View file

@ -278,7 +278,7 @@ anzu to be enabled."
"Show the number of iedit regions matches + what match you're on."
(when (bound-and-true-p iedit-mode)
(propertize
(let ((this-oc (iedit-find-current-occurrence-overlay))
(let ((this-oc (let (message-log-max) (iedit-find-current-occurrence-overlay)))
(length (or (ignore-errors (length iedit-occurrences-overlays)) 0)))
(format
" %s/%s "