From ee4dc5d959abd9c1795d3c01a0a036d057fc5838 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 28 Nov 2006 02:21:03 +0000 Subject: [PATCH] (next-error-find-buffer): Improve messages. --- lisp/simple.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index c064bbcdb91..7a278ad3db6 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -262,10 +262,10 @@ that buffer is rejected." (next-error-buffer-p (current-buffer) nil extra-test-inclusive extra-test-exclusive) (progn - (message "This is the only next-error capable buffer") + (message "This is the only buffer with error message locations") (current-buffer))) ;; 6. Give up. - (error "No next-error capable buffer found"))) + (error "No buffers contain error message locations"))) (defun next-error (&optional arg reset) "Visit next `next-error' message and corresponding source code. -- 2.39.2