]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix diff-add-log-use-relative-names prompting
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 8 Sep 2022 12:23:12 +0000 (14:23 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 8 Sep 2022 12:23:21 +0000 (14:23 +0200)
* lisp/vc/diff-mode.el (diff-add-log-use-relative-names): Autoload
to avoid prompting when set via dir-locals.

lisp/vc/diff-mode.el

index 1d2fbca0e53107ec0dea6c33c85944c555670a14..4b5c21973bc2f6ecc3f1932f0bde2271d55e72ca 100644 (file)
@@ -2336,6 +2336,7 @@ Call FUN with two args (BEG and END) for each hunk."
   (let ((inhibit-read-only t))
     (undo arg)))
 
+;;;###autoload
 (defcustom diff-add-log-use-relative-names nil
   "Use relative file names when generating ChangeLog skeletons.
 The files will be relative to the root directory of the VC