summaryrefslogtreecommitdiff
path: root/lisp/strokes.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-05-20 04:23:32 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-05-20 04:23:32 +0200
commit9d557d4d4adf68ca15ca9aaa48470133544ede26 (patch)
treedb41dac2aaa23bc0d8ef591b393f7c152414fdf8 /lisp/strokes.el
parent7e32904998db6bcaff78c9329efa1fcbc26cbd70 (diff)
downloademacs-9d557d4d4adf68ca15ca9aaa48470133544ede26.tar.gz
Rename compare-window-configurations and update doc
* doc/lispref/windows.texi (Window Configurations): Update name. * lisp/strokes.el (strokes-window-configuration-changed-p): * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Update callers and references. * lisp/subr.el (compare-window-configurations): Make into obsolete alias. * src/window.c (Fwindow_configuration_equal_p): Rename (bug#14964).
Diffstat (limited to 'lisp/strokes.el')
-rw-r--r--lisp/strokes.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/strokes.el b/lisp/strokes.el
index dc242d8f335..5402ebf1e1c 100644
--- a/lisp/strokes.el
+++ b/lisp/strokes.el
@@ -1036,8 +1036,8 @@ o Strokes are a bit computer-dependent in that they depend somewhat on
(defun strokes-window-configuration-changed-p ()
"Non-nil if the `strokes-window-configuration' frame properties changed.
This is based on the last time `strokes-window-configuration' was updated."
- (compare-window-configurations (current-window-configuration)
- strokes-window-configuration))
+ (window-configuration-equal-p (current-window-configuration)
+ strokes-window-configuration))
(defun strokes-update-window-configuration ()
"Ensure that `strokes-window-configuration' is up-to-date."