# HG changeset patch # User Richard M. Stallman # Date 1164680463 0 # Node ID 2ba390dee91152273144732276df48f4affc0476 # Parent 7e0bda309a90f6e19cfac35744451bf874acec09 (next-error-find-buffer): Improve messages. diff -r 7e0bda309a90 -r 2ba390dee911 lisp/simple.el --- a/lisp/simple.el Tue Nov 28 02:20:32 2006 +0000 +++ b/lisp/simple.el Tue Nov 28 02:21:03 2006 +0000 @@ -262,10 +262,10 @@ (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.