]> git.eshelyaron.com Git - emacs.git/commitdiff
* vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 20 Dec 2012 05:05:41 +0000 (09:05 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Thu, 20 Dec 2012 05:05:41 +0000 (09:05 +0400)
Adjust comment.

lisp/ChangeLog
lisp/vc/ediff-ptch.el

index f61eb7b2bfd651789c0e3a41a073fafa6d9d2f3e..c5ad40f5b15c210d2060862d2ee575eb88a4d74e 100644 (file)
@@ -1,3 +1,8 @@
+2012-12-20  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
+       Adjust comment.
+
 2012-12-19  Jonas Bernoulli  <jonas@bernoul.li>
 
        * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
index def450373cf0904247358556df67105e9f4513a3..b6a59ce277034d87c868a7ed46abe5412c0a6832 100644 (file)
@@ -190,15 +190,15 @@ program."
 ;; We usually come up with two candidates and ediff-file-name-sans-prefix
 ;;    resolves this later.
 ;;
-;; The marker `marker1' delimits the beginning of the corresponding patch and
-;;    `marker2' does it for the end.
+;; The marker `mark1' delimits the beginning of the corresponding patch and
+;;    `mark2' does it for the end.
 ;; The result of ediff-map-patch-buffer is a list, which is then assigned
 ;; to ediff-patch-map.
 ;; The function returns the number of elements in the list ediff-patch-map
 (defun ediff-map-patch-buffer (buf)
   (ediff-with-current-buffer buf
     (let ((count 0)
-         (mark1 (move-marker (make-marker) (point-min)))
+         (mark1 (point-min-marker))
          (mark1-end (point-min))
          (possible-file-names '("/dev/null" . "/dev/null"))
          mark2-end mark2 filenames