|
|
@ -269,8 +269,8 @@ there's a region, all lines that region covers will be duplicated." |
|
|
(interactive) |
|
|
(interactive) |
|
|
(if (/= (count-windows) 2) |
|
|
(if (/= (count-windows) 2) |
|
|
(message "You need exactly 2 windows to do this.") |
|
|
(message "You need exactly 2 windows to do this.") |
|
|
(let* ((w1 (first (window-list))) |
|
|
|
|
|
(w2 (second (window-list))) |
|
|
|
|
|
|
|
|
(let* ((w1 (car (window-list))) |
|
|
|
|
|
(w2 (cadr (window-list))) |
|
|
(b1 (window-buffer w1)) |
|
|
(b1 (window-buffer w1)) |
|
|
(b2 (window-buffer w2)) |
|
|
(b2 (window-buffer w2)) |
|
|
(s1 (window-start w1)) |
|
|
(s1 (window-start w1)) |
|
|
|