From: Stefan Monnier Date: Mon, 30 Oct 2000 14:28:30 +0000 (+0000) Subject: (log-edit-confirm): Fix the default. X-Git-Tag: emacs-pretest-21.0.90~418 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f077c4622f84423de2b85876f5dddafbc8d49794;p=emacs.git (log-edit-confirm): Fix the default. --- diff --git a/lisp/log-edit.el b/lisp/log-edit.el index bc766d0226e..1631a7c37e5 100644 --- a/lisp/log-edit.el +++ b/lisp/log-edit.el @@ -5,7 +5,7 @@ ;; Author: Stefan Monnier ;; Keywords: pcl-cvs cvs commit log ;; Version: $Name: $ -;; Revision: $Id: log-edit.el,v 1.7 2000/06/02 23:03:31 monnier Exp $ +;; Revision: $Id: log-edit.el,v 1.8 2000/10/24 11:27:41 fx Exp $ ;; This file is part of GNU Emacs. @@ -63,7 +63,7 @@ :inherit (if (boundp 'vc-log-entry-mode) vc-log-entry-mode (if (boundp 'vc-log-mode-map) vc-log-mode-map))) -(defcustom log-edit-confirm t +(defcustom log-edit-confirm 'changed "*If non-nil, `log-edit-done' will request confirmation. If 'changed, only request confirmation if the list of files has changed since the beginning of the log-edit session." @@ -151,7 +151,7 @@ when this variable is set to nil.") ;;;###autoload (defun log-edit (callback &optional setup listfun &rest ignore) "Setup a buffer to enter a log message. -The buffer will be put in `log-edit-mode'. +\\The buffer will be put in `log-edit-mode'. If SETUP is non-nil, the buffer is then erased and `log-edit-hook' is run. Mark and point will be set around the entire contents of the buffer so that it is easy to kill the contents of the buffer with \\[kill-region].