+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'
;; 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'.")