summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-11-28 02:21:03 +0000
committerRichard M. Stallman <rms@gnu.org>2006-11-28 02:21:03 +0000
commitee4dc5d959abd9c1795d3c01a0a036d057fc5838 (patch)
treeff0a8894993fb6155e0e7f9327ecf7e0703127af /lisp/simple.el
parentb2d239c1ba9d4472868f40bd82a555b9de702f3d (diff)
downloademacs-ee4dc5d959abd9c1795d3c01a0a036d057fc5838.tar.gz
(next-error-find-buffer): Improve messages.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el4
1 files 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.