1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

2005-11-15 Michael Kifer <kifer@cs.stonybrook.edu>

* ediff-util (ediff-make-temp-file): use proper file-name-handler
	operation
This commit is contained in:
Michael Kifer 2005-11-15 18:49:33 +00:00
parent 54b171c787
commit 3cc60763f8
2 changed files with 4 additions and 1 deletions

View file

@ -3173,7 +3173,7 @@ Hit \\[ediff-recenter] to reset the windows afterward."
(setq f (concat ediff-temp-file-prefix p)
short-f (concat ediff-temp-file-prefix short-p)
f (cond (given-file)
((find-file-name-handler f 'find-file-noselect)
((find-file-name-handler f 'insert-file-contents)
;; to thwart file handlers in write-region, e.g., if file
;; name ends with .Z or .gz
;; This is needed so that patches produced by ediff will