unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2217: [PATCH] add-log.el (add-log-current-defun-header-regexp): Improve docstring
@ 2009-02-06  4:02 Jari Aalto
  0 siblings, 0 replies; 2+ messages in thread
From: Jari Aalto @ 2009-02-06  4:02 UTC (permalink / raw)
  To: Emacs bug BTS

Tags: patch

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

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

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

Signed-off-by: Jari Aalto <jari.aalto@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..c43a548 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -1095,7 +1095,9 @@ Prefix arg means justify as well."
 \f
 (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)'."
+text in '(parentheses)'."
   :type 'regexp
   :group 'change-log)
 
-- 
1.5.6.5







^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#2217: [PATCH] add-log.el (add-log-current-defun-header-regexp): Improve docstring
@ 2009-02-06  4:28 Jari Aalto
  0 siblings, 0 replies; 2+ messages in thread
From: Jari Aalto @ 2009-02-06  4:28 UTC (permalink / raw)
  To: 2217

severity: minor
thanks

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

2009-02-06  Jari Aalto  <jari.aalto@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@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@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."
 \f
 (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







^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-06  4:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-06  4:28 bug#2217: [PATCH] add-log.el (add-log-current-defun-header-regexp): Improve docstring Jari Aalto
  -- strict thread matches above, loose matches on Subject: below --
2009-02-06  4:02 Jari Aalto

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).