(setq ioccur-count-occurences 0)
(with-current-buffer ioccur-current-buffer
(let ((case-fold-search (case ioccur-case-fold-search
- (smart (if (string-match "[A-Z]" regexp) nil t))
+ (smart (let ((case-fold-search nil))
+ (if (string-match "[A-Z]" regexp) nil t)))
(t ioccur-case-fold-search))))
(save-excursion
(goto-char (point-min))
count (match-string 0) regexp)
do (forward-line 1))))))
-
(defun ioccur-print-match (str &optional all)
"Highlight in string STR all occurences matching `ioccur-pattern'.
If ALL is non--nil highlight the whole string STR."