]> git.eshelyaron.com Git - emacs.git/commitdiff
* ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 8 Jun 2009 15:04:47 +0000 (15:04 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 8 Jun 2009 15:04:47 +0000 (15:04 +0000)
files correctly.

lisp/ChangeLog
lisp/ediff-util.el

index 37a58bcd20c9d7d80440c4e05b9ee8a46b35478c..c469751d6af7cfac7d981df700616b0a4c4be8d4 100644 (file)
@@ -1,3 +1,8 @@
+2009-06-08  Michael Albinus  <michael.albinus@gmx.de>
+
+       * ediff-util.el (ediff-compute-custom-diffs-maybe): Handle remote
+       files correctly.
+
 2009-06-08  Adrian Robert  <Adrian.B.Robert@gmail.com>
 
        * term/ns-win.el (composition-function-table)
index 4885ca472e251abc02082752503e8a4069d2fe94..d0be103b8a670ab5c706375fe11d02d9426df772 100644 (file)
@@ -3416,11 +3416,8 @@ Without an argument, it saves customized diff argument, if available
     (ediff-exec-process
      ediff-custom-diff-program ediff-custom-diff-buffer 'synchronize
      ediff-custom-diff-options
-     ;; repetition of buf-A-file-name is needed so it'll return a file
-     (or (and buf-A-file-name (file-exists-p buf-A-file-name) buf-A-file-name)
-        file-A)
-     (or (and buf-B-file-name (file-exists-p buf-B-file-name) buf-B-file-name)
-        file-B))
+     (or file-A buf-A-file-name)
+     (or file-B buf-B-file-name))
     ;; put the diff file in diff-mode, if it is available
     (if (fboundp 'diff-mode)
        (with-current-buffer ediff-custom-diff-buffer