Staying at the search string when dired search fails
May 24, 2013 in answer
ANSWER:
You may try this ugly hack:
(defadvice tags-loop-continue (around protect-search-end activate)
(let* ((oldbuf (current-buffer)))
(unless (ignore-errors ad-do-it)
(switch-to-buffer oldbuf)
(message "No more matches..."))))

New Comments