summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2007-08-26 02:16:04 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2007-08-26 02:16:04 +0000
commita090236093d5aa6aa633e0cdea22af2f712e38b1 (patch)
tree67d03fdaf82b1f72296f622ba7a7de26898103e6
parent0d182a34a175b04f05f86a1494cd4cd447777786 (diff)
downloademacs-a090236093d5aa6aa633e0cdea22af2f712e38b1.tar.gz
(log-view-toggle-mark-entry): Add docstring.
(log-view-get-marked): Likewise.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/log-view.el6
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 005a2ddeb40..d6eba286392 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -5,6 +5,9 @@
2007-08-26 Dan Nicolaescu <dann@ics.uci.edu>
+ * log-view.el (log-view-toggle-mark-entry): Add docstring.
+ (log-view-get-marked): Likewise.
+
* vc-hooks.el (vc-registered): Use mapc instead of mapcar.
(vc-delete-automatic-version-backups): Likewise.
diff --git a/lisp/log-view.el b/lisp/log-view.el
index 4fe2200b4ea..a904a0355dd 100644
--- a/lisp/log-view.el
+++ b/lisp/log-view.el
@@ -238,6 +238,11 @@ The match group number 1 should match the revision number itself.")
rev))))))
(defun log-view-toggle-mark-entry ()
+ "Toggle the marked state for the log entry at point.
+Individual log entries can be marked and unmarked. The marked
+entries are denoted by changing their background color.
+`log-view-get-marked' returns the list of tags for the marked
+log entries."
(interactive)
(save-excursion
(forward-line 1)
@@ -265,6 +270,7 @@ The match group number 1 should match the revision number itself.")
(overlay-put ov 'log-view-marked tag))))))))
(defun log-view-get-marked ()
+ "Return the list of tags for the marked log entries."
(save-excursion
(let ((pos (point-min))
marked-list ov)