diff options
author | Michael Kifer <kifer@cs.stonybrook.edu> | 1996-12-28 02:53:04 +0000 |
---|---|---|
committer | Michael Kifer <kifer@cs.stonybrook.edu> | 1996-12-28 02:53:04 +0000 |
commit | bf5d92c5e3c9eccf0adbf150c70bc4e656c7aa01 (patch) | |
tree | 710e2d34c85a2982384a996efb2ccffb6d523843 /lisp/ediff-ptch.el | |
parent | 469b44cbf1916dc9502d4356e8fce0081809f585 (diff) | |
download | emacs-bf5d92c5e3c9eccf0adbf150c70bc4e656c7aa01.tar.gz |
*** empty log message ***
Diffstat (limited to 'lisp/ediff-ptch.el')
-rw-r--r-- | lisp/ediff-ptch.el | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/lisp/ediff-ptch.el b/lisp/ediff-ptch.el index 960eb6fda93..309316d721e 100644 --- a/lisp/ediff-ptch.el +++ b/lisp/ediff-ptch.el @@ -462,10 +462,9 @@ Else, read patch file into a new buffer." (setq file-name-magic-p (not (equal (file-truename true-source-filename) (file-truename source-filename)))) - ;; Checkout orig file, if necessary, so that the patched file could be - ;; checked back in. - (if (ediff-file-checked-in-p (buffer-file-name buf-to-patch)) - (ediff-toggle-read-only buf-to-patch)) + ;; Checkout orig file, if necessary, so that the patched file + ;; could be checked back in. + (ediff-maybe-checkout buf-to-patch) (ediff-eval-in-buffer patch-diagnostics (insert-buffer patch-buf) @@ -506,23 +505,28 @@ Else, read patch file into a new buffer." Patch has failed OR the backup version of the patched file was not created by the patch program. -A possible reason is that the values of the variables +One reason may be that the values of the variables -ediff-patch-options = %S -ediff-backup-extension = %S -ediff-backup-specs = %S + ediff-patch-options = %S + ediff-backup-extension = %S + ediff-backup-specs = %S are not appropriate for the program specified in the variable -ediff-patch-program = %S + ediff-patch-program = %S + +Another reason could be that the %S program doesn't understand +the format of the patch file you used. See Ediff on-line manual for more details on these variables. \(Or use a GNU-compatible patch program and stay out of trouble.\) -Type any key to continue... " +Type any key to continue... +" ediff-patch-options ediff-backup-extension ediff-backup-specs + ediff-patch-program ediff-patch-program))) (beep 1) (if (setq aux-wind (get-buffer-window ediff-msg-buffer)) |