1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-30 02:02:38 -07: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.