bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21851: ediff-patch-file fails if patch-buf is a buffer nameif patch-


From: Tino Calancha
Subject: bug#21851: ediff-patch-file fails if patch-buf is a buffer nameif patch-buf is a buffer name
Date: Sun, 8 Nov 2015 00:12:03 +0900 (JST)
User-agent: Alpine 2.20 (LRH 67 2015-01-07)


Congratulations!  You may have unearthed a bug in Ediff!

Please make a concise and accurate summary of what happened
and mail it to the address above.
-----------------------------------------------------------

ediff-patch-file fails if patch-buf is a buffer name

* lisp/vc/ediff.el (ediff-patch-file)

emacs -Q:
(in *scratch* buffer)

(with-temp-file "/tmp/buff"
  (insert "foo bar"))

(with-current-buffer (generate-new-buffer "buff2")
  (insert "foo baz"))

;; call ediff-buffers on "buff" and "buff2" and save the
;; differences in a buffer "patch"

(epatch nil (get-buffer "patch")) ; ok
(epatch nil "patch") ; BAD
epatch: Wrong type argument: bufferp, "patch"


Emacs  : GNU Emacs 25.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.28)
 of 2015-11-07
Package: Ediff 2.81.5 of July 4, 2013

Attachment: ediff_1.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]