Variable: vc-static-header-alist

vc-static-header-alist is a customizable variable defined in vc.el.gz.

Value

(("\\.c\\'" . "\n#ifndef lint\nstatic char vcid[] = \"%s\";\n#endif /* lint */\n"))

Documentation

Associate static header string templates with file types.

A %s in the template is replaced with the first string associated with the file's version control type in vc-BACKEND-header.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
;; Header-insertion hair

(defcustom vc-static-header-alist
  '(("\\.c\\'" .
     "\n#ifndef lint\nstatic char vcid[] = \"%s\";\n#endif /* lint */\n"))
  "Associate static header string templates with file types.
A %s in the template is replaced with the first string associated with
the file's version control type in `vc-BACKEND-header'."
  :type '(repeat (cons :format "%v"
		       (regexp :tag "File Type")
		       (string :tag "Header String"))))