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

From: Jari Aalto <[email-masked]>
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  <[email-masked]>

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

>From 60a95c697ccc35abbfce6950f081100549b0b3fd Mon Sep 17 00:00:00 2001
From: Jari Aalto <[email-masked]>
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 <[email-masked]>
---
 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