`diff' doc clarification

* vc/diff.el (diff): Clarify the order the file names are read
(bug#7111).
This commit is contained in:
Lars Magne Ingebrigtsen 2011-07-14 16:15:06 +02:00
parent b8151e9c3c
commit fc233c9d7e
2 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,8 @@
2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
* vc/diff.el (diff): Clarify the order the file names are read
(bug#7111).
* mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
the doc string (bug#7015).

View file

@ -76,10 +76,10 @@ delete the temporary files so named."
;;;###autoload
(defun diff (old new &optional switches no-async)
"Find and display the differences between OLD and NEW files.
When called interactively, read OLD and NEW using the minibuffer;
the default for NEW is the current buffer's file name, and the
default for OLD is a backup file for NEW, if one exists.
If NO-ASYNC is non-nil, call diff synchronously.
When called interactively, read NEW, then OLD, using the
minibuffer. The default for NEW is the current buffer's file
name, and the default for OLD is a backup file for NEW, if one
exists. If NO-ASYNC is non-nil, call diff synchronously.
When called interactively with a prefix argument, prompt
interactively for diff switches. Otherwise, the switches