[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
diff-save-buffer, default filename when saving diffs
From: |
Kevin Ryde |
Subject: |
diff-save-buffer, default filename when saving diffs |
Date: |
Sun, 30 May 2004 08:39:05 +1000 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
The following is a spot of code I use for getting a filename when
saving diffs. I normally do this from vc-diff, but plain M-x diff
works too.
This is not just a case of setting buffer-file-name, it uses the
"initial" argument of read-file-name so you can edit the proposed
name. I often add to the name to give a hint what it's about.
diff-save-buffer.el
Description: application/emacs-lisp
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- diff-save-buffer, default filename when saving diffs,
Kevin Ryde <=