Variable: add-log-keep-changes-together

add-log-keep-changes-together is a customizable variable defined in add-log.el.gz.

Value

nil

Documentation

If non-nil, normally keep day's log entries for one file together.

Log entries for a given file made with M-x add-change-log-entry (add-change-log-entry) or C-x 4 a (add-change-log-entry-other-window) will only be added to others for that file made today if this variable is non-nil or that file comes first in today's entries. Otherwise another entry for that file will be started. An original log:

* foo (...): ...
* bar (...): change 1

in the latter case, C-x 4 a (add-change-log-entry-other-window) in a buffer visiting bar, yields:

* bar (...): -!-
* foo (...): ...
* bar (...): change 1

and in the former:

* foo (...): ...
* bar (...): change 1
(...): -!-

The NEW-ENTRY arg to add-change-log-entry can override the effect of this variable.

This variable was added, or its default value changed, in Emacs 20.3.

View in manual

Probably introduced at or before Emacs version 20.3.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/add-log.el.gz
(defcustom add-log-keep-changes-together nil
  "If non-nil, normally keep day's log entries for one file together.

Log entries for a given file made with \\[add-change-log-entry] or
\\[add-change-log-entry-other-window] will only be added to others \
for that file made
today if this variable is non-nil or that file comes first in today's
entries.  Otherwise another entry for that file will be started.  An
original log:

	* foo (...): ...
	* bar (...): change 1

in the latter case, \\[add-change-log-entry-other-window] in a \
buffer visiting `bar', yields:

	* bar (...): -!-
	* foo (...): ...
	* bar (...): change 1

and in the former:

	* foo (...): ...
	* bar (...): change 1
	(...): -!-

The NEW-ENTRY arg to `add-change-log-entry' can override the effect of
this variable."
  :version "20.3"
  :type 'boolean)