summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-01-19 06:05:53 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-01-19 06:05:53 +0100
commit378a01e16808ce319138141bdc0779d96e17f8bf (patch)
treedaf02dfd69e1d380d5381346475ef25d7a865c6c
parent43982a8f1017f709f78d5722796c266d4f72de05 (diff)
downloademacs-378a01e16808ce319138141bdc0779d96e17f8bf.tar.gz
Actually make the calc trail window dedicated
* lisp/calc/calc.el (calc-trail-display): Actually make the trail window dedicated (bug#45928).
-rw-r--r--lisp/calc/calc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el
index d684c7ba97f..ec09abb34c4 100644
--- a/lisp/calc/calc.el
+++ b/lisp/calc/calc.el
@@ -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)