Function: flymake-goto-diagnostic

flymake-goto-diagnostic is an interactive and byte-compiled function defined in flymake.el.gz.

Signature

(flymake-goto-diagnostic POS)

Documentation

Show location of diagnostic at POS.

POS can be a buffer position or a button

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/flymake.el.gz
(defun flymake-goto-diagnostic (pos)
  "Show location of diagnostic at POS.
POS can be a buffer position or a button"
  (interactive "d")
  (pop-to-buffer
   (flymake-show-diagnostic (if (button-type pos) (button-start pos) pos))))