From: Richard M. Stallman Date: Tue, 28 Nov 2006 02:21:03 +0000 (+0000) Subject: (next-error-find-buffer): Improve messages. X-Git-Tag: emacs-pretest-22.0.92~425 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ee4dc5d959abd9c1795d3c01a0a036d057fc5838;p=emacs.git (next-error-find-buffer): Improve messages. --- 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.