changeset 107483:2b2a771fc89b

* vc-dispatcher.el (vc-start-logentry): Doc fix. (log-view-process-buffer, log-edit-extra-flags): Declare.
author Glenn Morris <rgm@gnu.org>
date Tue, 23 Mar 2010 20:30:53 -0700
parents 1161bde4ebd6
children 79c0352f271f
files lisp/ChangeLog lisp/vc-dispatcher.el
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Mar 23 20:27:24 2010 -0700
+++ b/lisp/ChangeLog	Tue Mar 23 20:30:53 2010 -0700
@@ -1,5 +1,8 @@
 2010-03-24  Glenn Morris  <rgm@gnu.org>
 
+	* vc-dispatcher.el (vc-start-logentry): Doc fix.
+	(log-view-process-buffer, log-edit-extra-flags): Declare.
+
 	* log-edit.el (log-edit-before-checkin-process): Doc fix.
 
 	* cedet/semantic/bovine/c.el (semantic-c-describe-environment):
--- a/lisp/vc-dispatcher.el	Tue Mar 23 20:27:24 2010 -0700
+++ b/lisp/vc-dispatcher.el	Tue Mar 23 20:30:53 2010 -0700
@@ -539,8 +539,9 @@
 INITIAL-CONTENTS is nil, do action immediately as if the user had
 entered COMMENT.  If COMMENT is t, also do action immediately with an
 empty comment.  Remember the file's buffer in `vc-parent-buffer'
-\(current one if no file).  AFTER-HOOK specifies the local value
-for `vc-log-after-operation-hook'."
+\(current one if no file).  Puts the log-entry buffer in major-mode
+MODE, defaulting to `log-edit-mode' if MODE is nil.
+AFTER-HOOK specifies the local value for `vc-log-after-operation-hook'."
   (let ((parent
          (if (vc-dispatcher-browsing)
              ;; If we are called from a directory browser, the parent buffer is
@@ -569,6 +570,9 @@
       (vc-finish-logentry (eq comment t)))))
 
 (declare-function vc-dir-move-to-goal-column "vc-dir" ())
+;; vc-finish-logentry is called from a log-edit buffer (see above).
+(declare-function log-view-process-buffer "log-edit" ())
+(defvar log-edit-extra-flags)
 
 (defun vc-finish-logentry (&optional nocomment)
   "Complete the operation implied by the current log entry.