(next-error-find-buffer): Improve messages.
authorRichard M. Stallman <rms@gnu.org>
Tue, 28 Nov 2006 02:21:03 +0000 (02:21 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 28 Nov 2006 02:21:03 +0000 (02:21 +0000)
lisp/simple.el

index c064bbc..7a278ad 100644 (file)
@@ -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.