summaryrefslogtreecommitdiff
path: root/doc/emacs/maintaining.texi
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2016-02-01 21:08:21 -0500
committerGlenn Morris <rgm@gnu.org>2016-02-01 21:08:56 -0500
commitdc435af152e6df3d85b0c21eaf9ff39dce0091bb (patch)
treeed7ce7ab5c100d7cb6f91ad72c828953ef99e3c4 /doc/emacs/maintaining.texi
parenta39a03a3bf6c1ec522d7b7d6b7f2bf8271ed1a2f (diff)
downloademacs-dc435af152e6df3d85b0c21eaf9ff39dce0091bb.tar.gz
Make find-change-log prefer a VCS root, if no ChangeLog exists.
* lisp/vc/add-log.el (change-log-directory-files): New option. (find-change-log): Respect change-log-directory-files. * doc/emacs/maintaining.texi (Change Log Commands): Mention change-log-directory-files. ; * etc/NEWS: Mention this.
Diffstat (limited to 'doc/emacs/maintaining.texi')
-rw-r--r--doc/emacs/maintaining.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index 3f1a9c07e91..72d428af8fb 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -1590,6 +1590,13 @@ also creates a new item for the current file. For many languages, it
can even guess the name of the function or other object that was
changed.
+@c Not worth it.
+@c @vindex change-log-directory-files
+To find the change log file, Emacs searches up the directory tree from
+the file you are editing. By default, it stops if it finds a
+directory that seems to be the root of a version-control repository.
+To change this, customize @code{change-log-directory-files}.
+
@vindex add-log-keep-changes-together
When the variable @code{add-log-keep-changes-together} is
non-@code{nil}, @kbd{C-x 4 a} adds to any existing item for the file