File: copyright.el.html

Allows updating the copyright year and above mentioned GPL version manually or when saving a file. Do (add-hook 'before-save-hook 'copyright-update), or use M-x customize-variable RET before-save-hook RET.

Defined variables (10)

copyright-at-end-flagNon-nil means to search backwards from the end of the buffer for copyright.
copyright-current-gpl-versionString representing the current version of the GPL or nil.
copyright-current-yearString representing the current year.
copyright-limitDon’t try to update copyright beyond this position unless interactive.
copyright-names-regexpRegexp matching the names which correspond to the user.
copyright-queryIf non-nil, ask user before changing copyright.
copyright-regexpWhat your copyright notice looks like.
copyright-updateThe function ‘copyright-update’ sets this to nil after updating a buffer.
copyright-year-rangesNon-nil if individual consecutive years should be replaced with a range.
copyright-years-regexpMatch additional copyright notice years.

Defined functions (10)

copyright(&optional STR ARG)
copyright-find-copyright()
copyright-find-end()
copyright-fix-years()
copyright-offset-too-large-p()
copyright-re-search(REGEXP &optional BOUND NOERROR COUNT)
copyright-start-point()
copyright-update(&optional ARG INTERACTIVEP)
copyright-update-directory(DIRECTORY MATCH &optional FIX)
copyright-update-year(REPLACE NOQUERY)

Defined faces (0)