Commit 55fdbbb5 authored by Chong Yidong's avatar Chong Yidong
Browse files

(diff): Doc fix.

parent 3dfe36a5
...@@ -80,10 +80,14 @@ were found." ...@@ -80,10 +80,14 @@ were found."
;;;###autoload ;;;###autoload
(defun diff (old new &optional switches no-async) (defun diff (old new &optional switches no-async)
"Find and display the differences between OLD and NEW files. "Find and display the differences between OLD and NEW files.
Interactively the current buffer's file name is the default for NEW When called interactively, read OLD and NEW using the minibuffer;
and a backup file for NEW is the default for OLD. 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. If NO-ASYNC is non-nil, call diff synchronously.
With prefix arg, prompt for diff switches."
When called interactively with a prefix argument, prompt
interactively for diff switches. Otherwise, the switches
specified in `diff-switches' are passed to the diff command."
(interactive (interactive
(let (oldf newf) (let (oldf newf)
(setq newf (buffer-file-name) (setq newf (buffer-file-name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment