From: Richard M. Stallman Date: Thu, 7 Feb 2002 17:39:27 +0000 (+0000) Subject: (copyright-regexp): Delete the unibyte copyright symbol; it's redundant. X-Git-Tag: ttn-vms-21-2-B4~16789 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3be4340f58042dd59dfcbe86b35ddb95006b0c98;p=emacs.git (copyright-regexp): Delete the unibyte copyright symbol; it's redundant. Fix a spazz in the multibyte encoding here. --- diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index 26ce7b9c071..abed05cf902 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el @@ -46,8 +46,8 @@ A value of nil means to search whole buffer." ;; The character classes include the unibyte (C) sign, ;; the Latin-1 version, and the Latin-9 version. (defcustom copyright-regexp - "\\([\251©Ž©]\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\ -\\|[Cc]opyright\\s *:?\\s *[\251©Ž©]\\)\ + "\\([©Ž©]\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\ +\\|[Cc]opyright\\s *:?\\s *[©Ž©]\\)\ \\s *\\([1-9]\\([-0-9, ';\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)" "*What your copyright notice looks like. The second \\( \\) construct must match the years."