1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(next-error-find-buffer): Improve messages.

This commit is contained in:
Richard M. Stallman 2006-11-28 02:21:03 +00:00
parent b2d239c1ba
commit ee4dc5d959

View 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.