Function: semantic-format-tag-abbreviate-makefile-mode

semantic-format-tag-abbreviate-makefile-mode is a byte-compiled function defined in make.el.gz.

Signature

(semantic-format-tag-abbreviate-makefile-mode TAG &optional PARENT COLOR)

Documentation

Return an abbreviated string describing tag for Makefiles.

Override semantic-format-tag-abbreviate in makefile-mode buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/make.el.gz
(define-mode-local-override semantic-format-tag-abbreviate
  makefile-mode (tag &optional parent color)
  "Return an abbreviated string describing tag for Makefiles."
  (let ((class (semantic-tag-class tag))
	(name (semantic-format-tag-name tag parent color))
	)
    (cond ((eq class 'function)
	   (concat name ":"))
	  ((eq class 'filename)
	   (concat "./" name))
	  (t
	   (semantic-format-tag-abbreviate-default tag parent color)))))