From 2e3b4a0b359380880d5dad013a3286a6217e2ae2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 5 Jan 2004 22:50:58 +0000 Subject: [PATCH] allow / and *, too --- lisp/ChangeLog | 5 +++++ lisp/emacs-lisp/copyright.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eab0fce6a58..67e62e7025a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2004-01-05 Karl Berry + + * emacs-lisp/copyright.el (copyright-regexp): might as well allow + / and *, too. + 2003-12-31 Simon Josefsson * files.el (before-save-hook): Add. diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index 8d748291c00..6a95c60f859 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el @@ -48,7 +48,7 @@ A value of nil means to search whole buffer." (defcustom copyright-regexp "\\([©Ž©]\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\ \\|[Cc]opyright\\s *:?\\s *[©Ž©]\\)\ -\\s *\\([1-9]\\([-0-9, ';%#\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)" +\\s *\\([1-9]\\([-0-9, ';/*%#\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)" "*What your copyright notice looks like. The second \\( \\) construct must match the years." :group 'copyright -- 2.39.2