aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2012-12-20 06:10:52 +0100
committerJoakim Verona2012-12-20 06:10:52 +0100
commit596c67bacd92939749f130342515d0c7b13e8036 (patch)
tree7d26d30ccb80c7d5177f97c448fa4134291674d5
parent2bc41ed5fe0f0c523c4d669993b279e83e26eb6e (diff)
parent87523aedc8a36a3be17e2918b0c8bd43cbe3618c (diff)
downloademacs-596c67bacd92939749f130342515d0c7b13e8036.tar.gz
emacs-596c67bacd92939749f130342515d0c7b13e8036.zip
auto upstream
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/vc/ediff-ptch.el6
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f61eb7b2bfd..c5ad40f5b15 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4 Adjust comment.
5
12012-12-19 Jonas Bernoulli <jonas@bernoul.li> 62012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2 7
3 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the 8 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
diff --git a/lisp/vc/ediff-ptch.el b/lisp/vc/ediff-ptch.el
index def450373cf..b6a59ce2770 100644
--- a/lisp/vc/ediff-ptch.el
+++ b/lisp/vc/ediff-ptch.el
@@ -190,15 +190,15 @@ program."
190;; We usually come up with two candidates and ediff-file-name-sans-prefix 190;; We usually come up with two candidates and ediff-file-name-sans-prefix
191;; resolves this later. 191;; resolves this later.
192;; 192;;
193;; The marker `marker1' delimits the beginning of the corresponding patch and 193;; The marker `mark1' delimits the beginning of the corresponding patch and
194;; `marker2' does it for the end. 194;; `mark2' does it for the end.
195;; The result of ediff-map-patch-buffer is a list, which is then assigned 195;; The result of ediff-map-patch-buffer is a list, which is then assigned
196;; to ediff-patch-map. 196;; to ediff-patch-map.
197;; The function returns the number of elements in the list ediff-patch-map 197;; The function returns the number of elements in the list ediff-patch-map
198(defun ediff-map-patch-buffer (buf) 198(defun ediff-map-patch-buffer (buf)
199 (ediff-with-current-buffer buf 199 (ediff-with-current-buffer buf
200 (let ((count 0) 200 (let ((count 0)
201 (mark1 (move-marker (make-marker) (point-min))) 201 (mark1 (point-min-marker))
202 (mark1-end (point-min)) 202 (mark1-end (point-min))
203 (possible-file-names '("/dev/null" . "/dev/null")) 203 (possible-file-names '("/dev/null" . "/dev/null"))
204 mark2-end mark2 filenames 204 mark2-end mark2 filenames