diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-11-22 14:22:03 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-11-22 14:22:03 -0500 |
commit | b2e4481906ec08e2c6072b6fe14dd1efca4784b9 (patch) | |
tree | 76e3aae5ccdd3865ab33b3b6394d412311f4fd42 /lisp/emacs-lisp | |
parent | a6d3e72e37fc3c641bacc52ac3495c97f8e28e88 (diff) | |
download | emacs-b2e4481906ec08e2c6072b6fe14dd1efca4784b9.tar.gz emacs-b2e4481906ec08e2c6072b6fe14dd1efca4784b9.tar.bz2 emacs-b2e4481906ec08e2c6072b6fe14dd1efca4784b9.zip |
Cleanup diff-buffer-with-file.
* lisp/vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
(diff-sentinel): Get them as arguments instead.
(diff-old-file, diff-new-file, diff-extra-args): Remove.
(diff-file-local-copy, diff-better-file-name): New funs.
(diff-no-select): Rename from diff-into-buffer.
Support buffers additionally to files. Move `buf' arg. Don't display buf.
Prefer closures to buffer-local variables.
(diff): Adjust accordingly.
(diff-buffer-with-file): Move from files.el.
* lisp/files.el (diff-buffer-with-file): Move to vc/diff.el.
(diff-buffer-internal): Remove.
(diff-buffer-buffer): Remove.
(save-some-buffers-action-alist): Use diff-no-select so as not to guess
the buffer name used, and so as not to mess up windows and frames.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions