Commit 16abdbe6 authored by Chong Yidong's avatar Chong Yidong
Browse files

* files.el (save-some-buffers-action-alist): Display diff in

	view-mode.
parent 1d8f4cb6
2006-09-22 Chong Yidong <cyd@stupidchicken.com>
* files.el (save-some-buffers-action-alist): Display diff in
view-mode.
2006-09-22 Masatake YAMATO <jet@gyve.org>
 
* add-log.el (add-log-current-defun): Use `forward-sexp'
......
......@@ -3729,7 +3729,13 @@ This requires the external program `diff' to be in your `exec-path'."
;; Return nil to ask about BUF again.
nil)
"view this file")
(?d diff-buffer-with-file
(?d (lambda (buf)
(save-window-excursion
(diff-buffer-with-file buf))
(view-buffer (get-buffer-create "*Diff*")
(lambda (ignore) (exit-recursive-edit)))
(recursive-edit)
nil)
"view changes in file"))
"ACTION-ALIST argument used in call to `map-y-or-n-p'.")
......
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