=== modified file 'lisp/progmodes/compile.el' --- lisp/progmodes/compile.el 2013-01-14 01:09:38 +0000 +++ lisp/progmodes/compile.el 2013-01-25 14:25:11 +0000 @@ -1320,6 +1320,24 @@ to `compilation-error-regexp-alist' if R file line end-line col end-col (or type 2) fmt)) (when (integerp file) + (when (integerp line) + (let* ((file-name (match-string file)) + (line-no (match-string line)) + (which-fn + (save-match-data + (when line-no + (with-current-buffer + (find-file-noselect file-name) + (forward-line (1- line)) + (which-function)))))) + (overlay-put + (make-overlay (match-end file) (match-end file) + (current-buffer) t t) + 'after-string + (format " <%s>" + (propertize (or which-fn "global") + 'face 'cscope-function-face))))) + (compilation--put-prop file 'font-lock-face (if (consp type)