]> git.eshelyaron.com Git - emacs.git/commitdiff
Actually make the calc trail window dedicated
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 19 Jan 2021 05:05:53 +0000 (06:05 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 19 Jan 2021 05:05:53 +0000 (06:05 +0100)
* lisp/calc/calc.el (calc-trail-display): Actually make the trail
window dedicated (bug#45928).

lisp/calc/calc.el

index d684c7ba97f755dd7eb52fe800fe75a8d823d7bd..ec09abb34c4193ce740ea7bfc36c1efce5f0fc59 100644 (file)
@@ -2144,7 +2144,7 @@ the United States."
                 (let ((w (split-window nil (/ (* (window-width) 2) 3) t)))
                   (set-window-buffer w calc-trail-buffer)
                   (and calc-make-windows-dedicated
-                       (set-window-dedicated-p nil t))))
+                       (set-window-dedicated-p w t))))
               (calc-wrapper
                (setq overlay-arrow-string calc-trail-overlay
                      overlay-arrow-position calc-trail-pointer)