Current File : //proc/thread-self/root/kunden/usr/share/emacs/27.2/lisp/emacs-lisp/copyright.elc |
;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; with all optimizations.
;;; This file contains utf-8 non-ASCII characters,
;;; and so cannot be loaded into Emacs 22 or earlier.
(and (boundp 'emacs-version)
(< (aref emacs-version (1- (length emacs-version))) ?A)
(string-lessp emacs-version "23")
(error "`%s' was compiled for Emacs 23 or later" #$))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(byte-code "\300\301\302\303\304\305%\210\306\307\310\311\304\301\312\313&\210\306\314\302\315\304\301\312\316\317\320& \210\306\321\322\323\304\301\312\324&\210\306\325\326\327\304\301\312\324&\210\306\330\331\332\304\301\312\324&\210\306\333\302\334\304\301\312\316\317\335& \210\306\336\337\340\304\301\312\341&\207" [custom-declare-group copyright nil "Update the copyright notice in current buffer." :group tools custom-declare-variable copyright-limit 2000 "Don't try to update copyright beyond this position unless interactive.\nA value of nil means to search whole buffer." :type (choice (integer :tag "Limit") (const :tag "No limit")) copyright-at-end-flag "Non-nil means to search backwards from the end of the buffer for copyright.\nThis is useful for ChangeLogs." boolean :version "23.1" copyright-regexp "\\(©\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\\|[Cc]opyright\\s *:?\\s *©\\)\\s *[^0-9\n]*\\s *\\([1-9]\\([-0-9, ';/*%#\n ]\\|\\s<\\|\\s>\\)*[0-9]+\\)" "What your copyright notice looks like.\nThe second \\( \\) construct must match the years." regexp copyright-names-regexp "" "Regexp matching the names which correspond to the user.\nOnly copyright lines where the name matches this regexp will be updated.\nThis allows you to avoid adding years to a copyright notice belonging to\nsomeone else or to a group for which you do not work." copyright-years-regexp "\\(\\s *\\)\\([1-9]\\([-0-9, ';/*%#\n ]\\|\\s<\\|\\s>\\)*[0-9]+\\)" "Match additional copyright notice years.\nThe second \\( \\) construct must match the years." copyright-year-ranges "Non-nil if individual consecutive years should be replaced with a range.\nFor example: 2005, 2006, 2007, 2008 might be replaced with 2005-2008.\nIf you use ranges, you should add an explanatory note in a README file.\nThe function `copyright-fix-years' respects this variable." "24.1" copyright-query 'function "If non-nil, ask user before changing copyright.\nWhen this is `function', only ask when called non-interactively." (choice (const :tag "Do not ask") (const :tag "Ask unless interactive" function) (other :tag "Ask" t))] 10)
#@60 String representing the current version of the GPL or nil.
(defconst copyright-current-gpl-version "3" (#$ . 2530))
#@75 The function `copyright-update' sets this to nil after updating a buffer.
(defvar copyright-update t (#$ . 2652))
#@39 String representing the current year.
(defvar copyright-current-year (format-time-string "%Y") (#$ . 2772))
(defalias 'copyright-limit #[nil "\205 \203\f `Z\207`\\\207" [copyright-limit copyright-at-end-flag] 2])
(put 'copyright-limit 'byte-optimizer 'byte-compile-inline-expand)
#@69 Re-search forward or backward depending on `copyright-at-end-flag'.
(defalias 'copyright-re-search #[(regexp &optional bound noerror count) "\203 \305 \n\f$\207\306 \n\f$\207" [copyright-at-end-flag regexp bound noerror count re-search-backward re-search-forward] 5 (#$ . 3063)])
#@70 Return point-min or point-max, depending on `copyright-at-end-flag'.
(defalias 'copyright-start-point #[nil "\203 d\207e\207" [copyright-at-end-flag] 1 (#$ . 3353)])
#@65 Return non-nil if point is too far from the edge of the buffer.
(defalias 'copyright-offset-too-large-p #[nil "\205 \203 `dZW\207`e\\V\207" [copyright-limit copyright-at-end-flag] 3 (#$ . 3527)])
#@218 Return non-nil if a copyright header suitable for updating is found.
The header must match `copyright-regexp' and `copyright-names-regexp', if set.
This function sets the match-data that `copyright-update-year' uses.
(defalias 'copyright-find-copyright #[nil "~\210\305 b\210\3061'