GNU bug report logs - #2217
[PATCH] add-log.el (add-log-current-defun-header-regexp): Improve docstring

Previous Next

Package: emacs;

Reported by: Jari Aalto <jari.aalto <at> cante.net>

Date: Fri, 6 Feb 2009 04:10:04 UTC

Severity: minor

Tags: patch

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jari Aalto <jari.aalto <at> cante.net>
To: 2217 <at> debbugs.gnu.org
Subject: bug#2217: [PATCH] add-log.el (add-log-current-defun-header-regexp): Improve docstring
Date: Fri, 06 Feb 2009 06:28:05 +0200
severity: minor
thanks

The value is also case sensitive. Here is slightly improved patch.

2009-02-06  Jari Aalto  <jari.aalto <at> cante.net>

       * add-log.el: Improve docstring by mentioning submatch 1.

From 60a95c697ccc35abbfce6950f081100549b0b3fd Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto <at> cante.net>
Date: Fri, 6 Feb 2009 06:25:04 +0200
Subject: [PATCH] lisp/add-log.el: (add-log-current-defun-header-regexp): Improve docstring

Signed-off-by: Jari Aalto <jari.aalto <at> cante.net>
---
 lisp/add-log.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lisp/add-log.el b/lisp/add-log.el
index 00e3172..c63e96d 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -1095,7 +1095,9 @@ Prefix arg means justify as well."
 
 (defcustom add-log-current-defun-header-regexp
   "^\\([[:upper:]][[:upper:]_ ]*[[:upper:]_]\\|[-_[:alpha:]]+\\)[ \t]*[:=]"
-  "Heuristic regexp used by `add-log-current-defun' for unknown major modes."
+  "Heuristic regexp used by `add-log-current-defun' for unknown major modes.
+The regular expression's submatch 1 is used for the text in '(parenthesis)'.
+The value is case-sensitive."
   :type 'regexp
   :group 'change-log)
 
-- 
1.5.6.5





This bug report was last modified 16 years and 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.