Commit | Line | Data |
---|---|---|
3f61a2e7 | 1 | ;;; copyright.el --- update the copyright notice in current buffer |
d501f516 | 2 | |
3f61a2e7 | 3 | ;; Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. |
58142744 | 4 | |
0acdb863 RS |
5 | ;; Author: Daniel.Pfeiffer@Informatik.START.dbp.de |
6 | ;; fax (+49 69) 7588-2389 | |
3f61a2e7 KH |
7 | ;; Keywords: maint, tools |
8 | ||
9 | ;; This file is part of GNU Emacs. | |
10 | ||
11 | ;; GNU Emacs is free software; you can redistribute it and/or modify | |
12 | ;; it under the terms of the GNU General Public License as published by | |
13 | ;; the Free Software Foundation; either version 2, or (at your option) | |
14 | ;; any later version. | |
15 | ||
16 | ;; GNU Emacs is distributed in the hope that it will be useful, | |
17 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 | ;; GNU General Public License for more details. | |
20 | ||
21 | ;; You should have received a copy of the GNU General Public License | |
b578f267 EN |
22 | ;; along with GNU Emacs; see the file COPYING. If not, write to the |
23 | ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
24 | ;; Boston, MA 02111-1307, USA. | |
3f61a2e7 KH |
25 | |
26 | ;;; Commentary: | |
27 | ||
28 | ;; Allows updating the copyright year and above mentioned GPL version manually | |
29 | ;; or when saving a file. Do (add-hook 'write-file-hooks 'copyright-update). | |
0343b087 | 30 | |
d46bac56 ER |
31 | ;;; Code: |
32 | ||
3f61a2e7 KH |
33 | (defvar copyright-limit 2000 |
34 | "*Don't try to update copyright beyond this position unless interactive. | |
35 | `nil' means to search whole buffer.") | |
36 | ||
37 | ||
38 | (defvar copyright-regexp | |
5382dacc | 39 |