Function: semantic-symref-list-on-hit-p
semantic-symref-list-on-hit-p is a byte-compiled function defined in
list.el.gz.
Signature
(semantic-symref-list-on-hit-p)
Documentation
Return the line number if the cursor is on a buffer line with a hit.
Hits are the line of code from the buffer, not the tag summar or file lines.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/symref/list.el.gz
;;; UTILS
;;
;; List mode utils for understanding the current line
(defun semantic-symref-list-on-hit-p ()
"Return the line number if the cursor is on a buffer line with a hit.
Hits are the line of code from the buffer, not the tag summar or file lines."
(save-excursion
(end-of-line)
(let* ((ol (car (overlays-at (1- (point)))))) ;; trust this for now
(when ol (overlay-get ol 'line)))))