diff options
| author | Lars Ingebrigtsen | 2022-09-08 14:23:12 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-09-08 14:23:21 +0200 |
| commit | aa02ffb2ab06e956dfd27b9a61fc4739574215ec (patch) | |
| tree | 3994daa054747b031fb68ffdf0ec35a20a10f9cd | |
| parent | e90a457c46ca9463bf77cab2d34513c45269c938 (diff) | |
| download | emacs-aa02ffb2ab06e956dfd27b9a61fc4739574215ec.tar.gz emacs-aa02ffb2ab06e956dfd27b9a61fc4739574215ec.zip | |
Fix diff-add-log-use-relative-names prompting
* lisp/vc/diff-mode.el (diff-add-log-use-relative-names): Autoload
to avoid prompting when set via dir-locals.
| -rw-r--r-- | lisp/vc/diff-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el index 1d2fbca0e53..4b5c21973bc 100644 --- a/lisp/vc/diff-mode.el +++ b/lisp/vc/diff-mode.el | |||
| @@ -2336,6 +2336,7 @@ Call FUN with two args (BEG and END) for each hunk." | |||
| 2336 | (let ((inhibit-read-only t)) | 2336 | (let ((inhibit-read-only t)) |
| 2337 | (undo arg))) | 2337 | (undo arg))) |
| 2338 | 2338 | ||
| 2339 | ;;;###autoload | ||
| 2339 | (defcustom diff-add-log-use-relative-names nil | 2340 | (defcustom diff-add-log-use-relative-names nil |
| 2340 | "Use relative file names when generating ChangeLog skeletons. | 2341 | "Use relative file names when generating ChangeLog skeletons. |
| 2341 | The files will be relative to the root directory of the VC | 2342 | The files will be relative to the root directory of the VC |