Function: semantic-symref-rb-goto-match

semantic-symref-rb-goto-match is an interactive and byte-compiled function defined in list.el.gz.

Signature

(semantic-symref-rb-goto-match &optional BUTTON)

Documentation

Go to the file specified in the symref results buffer.

BUTTON is the button that was clicked.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/symref/list.el.gz
(defun semantic-symref-rb-goto-match (&optional button)
  "Go to the file specified in the symref results buffer.
BUTTON is the button that was clicked."
  (interactive)
  (let* ((tag (button-get button 'tag))
	 (line (button-get button 'line))
	 (buff (semantic-tag-buffer tag))
	 (win (selected-window))
	 )
    (switch-to-buffer-other-window buff)
    (goto-char (point-min))
    (forward-line (1- line))
    (pulse-momentary-highlight-one-line (point))
    (when (eq last-command-event ?\s) (select-window win))
    )
  )