changeset 74283:2ba390dee911

(next-error-find-buffer): Improve messages.
author Richard M. Stallman <rms@gnu.org>
date Tue, 28 Nov 2006 02:21:03 +0000
parents 7e0bda309a90
children efbf3bcfde0b
files lisp/simple.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Tue Nov 28 02:20:32 2006 +0000
+++ b/lisp/simple.el	Tue Nov 28 02:21:03 2006 +0000
@@ -262,10 +262,10 @@
 	(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.