Function: next-error-internal

next-error-internal is a byte-compiled function defined in simple.el.gz.

Signature

(next-error-internal)

Documentation

Visit the source code corresponding to the next-error message at point.

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun next-error-internal ()
  "Visit the source code corresponding to the `next-error' message at point."
  (let ((buffer (current-buffer)))
    ;; We know here that next-error-function is a valid symbol we can funcall
    (funcall next-error-function 0 nil)
    (let ((prev next-error-last-buffer))
      (next-error-found buffer (current-buffer))
      (when (or next-error-verbose
                (not (eq prev next-error-last-buffer)))
        (message "Current locus from %s" next-error-last-buffer)))))