diff options
| author | Lars Ingebrigtsen | 2022-05-20 04:23:32 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-05-20 04:23:32 +0200 |
| commit | 9d557d4d4adf68ca15ca9aaa48470133544ede26 (patch) | |
| tree | db41dac2aaa23bc0d8ef591b393f7c152414fdf8 /src | |
| parent | 7e32904998db6bcaff78c9329efa1fcbc26cbd70 (diff) | |
| download | emacs-9d557d4d4adf68ca15ca9aaa48470133544ede26.tar.gz emacs-9d557d4d4adf68ca15ca9aaa48470133544ede26.zip | |
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 'src')
| -rw-r--r-- | src/window.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/window.c b/src/window.c index a87b4834aaf..d3e8afd68a9 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -8121,11 +8121,11 @@ compare_window_configurations (Lisp_Object configuration1, | |||
| 8121 | return true; | 8121 | return true; |
| 8122 | } | 8122 | } |
| 8123 | 8123 | ||
| 8124 | DEFUN ("compare-window-configurations", Fcompare_window_configurations, | 8124 | DEFUN ("window-configuration-equal-p", Fwindow_configuration_equal_p, |
| 8125 | Scompare_window_configurations, 2, 2, 0, | 8125 | Swindow_configuration_equal_p, 2, 2, 0, |
| 8126 | doc: /* Compare two window configurations as regards the structure of windows. | 8126 | doc: /* Say whether two window configurations have the same window layout. |
| 8127 | This function ignores details such as the values of point | 8127 | This function ignores details such as the values of point and |
| 8128 | and scrolling positions. */) | 8128 | scrolling positions. */) |
| 8129 | (Lisp_Object x, Lisp_Object y) | 8129 | (Lisp_Object x, Lisp_Object y) |
| 8130 | { | 8130 | { |
| 8131 | if (compare_window_configurations (x, y)) | 8131 | if (compare_window_configurations (x, y)) |
| @@ -8613,7 +8613,7 @@ displayed after a scrolling operation to be somewhat inaccurate. */); | |||
| 8613 | defsubr (&Swindow_scroll_bars); | 8613 | defsubr (&Swindow_scroll_bars); |
| 8614 | defsubr (&Swindow_vscroll); | 8614 | defsubr (&Swindow_vscroll); |
| 8615 | defsubr (&Sset_window_vscroll); | 8615 | defsubr (&Sset_window_vscroll); |
| 8616 | defsubr (&Scompare_window_configurations); | 8616 | defsubr (&Swindow_configuration_equal_p); |
| 8617 | defsubr (&Swindow_bump_use_time); | 8617 | defsubr (&Swindow_bump_use_time); |
| 8618 | defsubr (&Swindow_list); | 8618 | defsubr (&Swindow_list); |
| 8619 | defsubr (&Swindow_list_1); | 8619 | defsubr (&Swindow_list_1); |