summaryrefslogtreecommitdiff
path: root/lisp/ediff-merg.el
diff options
context:
space:
mode:
authorMichael Kifer <kifer@cs.stonybrook.edu>1995-10-14 03:14:11 +0000
committerMichael Kifer <kifer@cs.stonybrook.edu>1995-10-14 03:14:11 +0000
commit89aa4b2297fba1c22f1c2d95b3b8715d810ae0a8 (patch)
treeca37643dfb2792fe10cfd27d490a1653fa39a805 /lisp/ediff-merg.el
parent722d81cb0e967c5c5c7dd243bdddac1c2d691a96 (diff)
downloademacs-89aa4b2297fba1c22f1c2d95b3b8715d810ae0a8.tar.gz
Moved defsubsts up.
Diffstat (limited to 'lisp/ediff-merg.el')
-rw-r--r--lisp/ediff-merg.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/ediff-merg.el b/lisp/ediff-merg.el
index 3280861efdf..ef14c8c436a 100644
--- a/lisp/ediff-merg.el
+++ b/lisp/ediff-merg.el
@@ -50,7 +50,14 @@ skiped over. Nil means show all regions.")
(nth 1 ediff-combination-pattern) "\n"
(ediff-get-region-contents n 'B ediff-control-buffer)
(nth 2 ediff-combination-pattern) "\n"))
-
+
+(defsubst ediff-make-combined-diff (regA regB)
+ (concat (nth 0 ediff-combination-pattern) "\n"
+ regA
+ (nth 1 ediff-combination-pattern) "\n"
+ regB
+ (nth 2 ediff-combination-pattern) "\n"))
+
(defsubst ediff-set-state-of-all-diffs-in-all-buffers (ctl-buf)
(let ((n 0))
(while (< n ediff-number-of-differences)
@@ -216,13 +223,6 @@ Combining is done using the list in variable `ediff-combination-pattern'."
(ediff-copy-diff n nil 'C batch-invocation reg-combined))
(or batch-invocation (ediff-recenter)))
-(defsubst ediff-make-combined-diff (regA regB)
- (concat (nth 0 ediff-combination-pattern) "\n"
- regA
- (nth 1 ediff-combination-pattern) "\n"
- regB
- (nth 2 ediff-combination-pattern) "\n"))
-
;; Checks if the region in buff C looks like a combination of the regions
;; in buffers A and B. Returns a list (reg-a-beg reg-a-end reg-b-beg reg-b-end)