summaryrefslogtreecommitdiff
path: root/lisp/log-view.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2007-06-22 18:37:46 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2007-06-22 18:37:46 +0000
commit2ef3b3fe29833531e057ffc74fb586f0e50c1ca5 (patch)
treea9124d416deaae36a281f9e98c219322109973da /lisp/log-view.el
parent11a4edc2288a6edb94d3d5ea0f7bae2c9d492df6 (diff)
downloademacs-2ef3b3fe29833531e057ffc74fb586f0e50c1ca5.tar.gz
Add docstrings.
Diffstat (limited to 'lisp/log-view.el')
-rw-r--r--lisp/log-view.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/log-view.el b/lisp/log-view.el
index 5962c216624..eff24771dd5 100644
--- a/lisp/log-view.el
+++ b/lisp/log-view.el
@@ -132,7 +132,9 @@
(concat "^\\(?:Working file: \\(?1:.+\\)" ;RCS and CVS.
;; Subversion has no such thing??
"\\|\\(?:SCCS/s\\.\\|Changes to \\)\\(?1:.+\\):" ;SCCS and Darcs.
- "\\)\n")) ;Include the \n for font-lock reasons.
+ "\\)\n") ;Include the \n for font-lock reasons.
+ "Regexp matching the text identifying the file.
+The match group number 1 should match the file name itself.")
(defvar log-view-message-re
(concat "^\\(?:revision \\(?1:[.0-9]+\\)\\(?:\t.*\\)?" ; RCS and CVS.
@@ -147,7 +149,9 @@
(concat "\\|[^ \n].*[^0-9\n][0-9][0-9]:[0-9][0-9][^0-9\n].*[^ \n]"
;;Email of user and finally Msg, used as revision name.
" .*@.*\n\\(?: \\* \\(?1:.*\\)\\)?")
- "\\)$"))
+ "\\)$")
+ "Regexp matching the text identifying a revision.
+The match group number 1 should match the revision number itself.")
(defvar log-view-font-lock-keywords
;; We use `eval' so as to use the buffer-local value of log-view-file-re