diff options
| author | Dmitry Gutov | 2015-04-14 05:03:32 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2015-04-14 05:06:49 +0300 |
| commit | a9ccfaefc1ca8fa5b0177101984f64b3b186339b (patch) | |
| tree | 70c652aeeb0b392d25702a1d75c531f449ed347e /lisp | |
| parent | e192281baae377a8702f3c048fce988d63ccfc1a (diff) | |
| download | emacs-a9ccfaefc1ca8fa5b0177101984f64b3b186339b.tar.gz emacs-a9ccfaefc1ca8fa5b0177101984f64b3b186339b.zip | |
Change diff-switches default to `-u'
Fixes: debbugs:20290
* doc/emacs/files.texi (Comparing Files): Document the new default
value of `diff-switches'.
* doc/emacs/trouble.texi (Sending Patches): Document the preference
for unified diff format. Escape the plus in the suggested `-F' regexp
value.
* lisp/vc/diff.el (diff-switches): Change the default to `-u'.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/vc/diff.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/diff.el b/lisp/vc/diff.el index 062248c8f14..2a973cfdfb1 100644 --- a/lisp/vc/diff.el +++ b/lisp/vc/diff.el | |||
| @@ -38,7 +38,7 @@ | |||
| 38 | :group 'tools) | 38 | :group 'tools) |
| 39 | 39 | ||
| 40 | ;;;###autoload | 40 | ;;;###autoload |
| 41 | (defcustom diff-switches (purecopy "-c") | 41 | (defcustom diff-switches (purecopy "-u") |
| 42 | "A string or list of strings specifying switches to be passed to diff." | 42 | "A string or list of strings specifying switches to be passed to diff." |
| 43 | :type '(choice string (repeat string)) | 43 | :type '(choice string (repeat string)) |
| 44 | :group 'diff) | 44 | :group 'diff) |