File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -1557,16 +1557,17 @@ Return the created process."
1557
1557
(push (list buffer
1558
1558
(rust--format-get-loc buffer nil ))
1559
1559
buffer-loc)))
1560
- (dolist (window (window-list ))
1561
- (let ((buffer (window-buffer window)))
1562
- (when (or (eq buffer base)
1563
- (eq (buffer-base-buffer buffer) base))
1564
- (let ((start (window-start window))
1565
- (point (window-point window)))
1566
- (push (list window
1567
- (rust--format-get-loc buffer start)
1568
- (rust--format-get-loc buffer point))
1569
- window-loc)))))
1560
+ (dolist (frame (frame-list ))
1561
+ (dolist (window (window-list frame))
1562
+ (let ((buffer (window-buffer window)))
1563
+ (when (or (eq buffer base)
1564
+ (eq (buffer-base-buffer buffer) base))
1565
+ (let ((start (window-start window))
1566
+ (point (window-point window)))
1567
+ (push (list window
1568
+ (rust--format-get-loc buffer start)
1569
+ (rust--format-get-loc buffer point))
1570
+ window-loc))))))
1570
1571
(unwind-protect
1571
1572
(rust--format-call (current-buffer ))
1572
1573
(dolist (loc buffer-loc)
You can’t perform that action at this time.
0 commit comments