aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/grep.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 000243b05df..2c68a29dd00 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -476,7 +476,7 @@ Set up `compilation-exit-message-function' and run `grep-setup-hook'."
476 ;; so the buffer is still unmodified if there is no output. 476 ;; so the buffer is still unmodified if there is no output.
477 (cond ((and (zerop code) (buffer-modified-p)) 477 (cond ((and (zerop code) (buffer-modified-p))
478 '("finished (matches found)\n" . "matched")) 478 '("finished (matches found)\n" . "matched"))
479 ((or (= code 1) (not (buffer-modified-p))) 479 ((not (buffer-modified-p))
480 '("finished with no matches found\n" . "no match")) 480 '("finished with no matches found\n" . "no match"))
481 (t 481 (t
482 (cons msg code))) 482 (cons msg code)))