1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-05 15:11:30 -08:00
emacs/doc
Daniel Colascione e5ee1d2a74 Adapt ediff to nonstandard layouts
Make ediff cope with having some of its windows (especially the control
window) not shown by a custom ediff-window-setup-function.
Modernize relevant adjacent code. After this change, one can write a
custom ediff-window-setup-function that doesn't show the control window.

* doc/misc/ediff.texi (Notes on Heavy-duty Customization): Refine
language to explain that the window setup function doesn't have to show
all windows.
* lisp/vc/ediff-util.el (ediff-select-control-window-on-setup):
New variable.
(ediff-setup, ediff-recenter, ediff-recenter-one-window)
(ediff-recenter-ancestor, ediff-toggle-read-only)
(ediff-operate-on-windows, ediff-jump-to-difference-at-point)
(ediff-default-suspend-function)
(ediff-clone-buffer-for-region-comparison)
(ediff-clone-buffer-for-window-comparison): Modernize control flow;
select only windows that exist.
* lisp/vc/ediff-wind.el (ediff-with-live-window): New convenience macro.
(ediff-window-setup-function): Explain relaxed contract.
2025-03-21 20:56:12 -04:00
..
emacs ; Touch up tramp-*-with-sudo documentation, add FIXMEs 2025-03-15 19:32:35 +08:00
lispintro Don't recommend legacy keymap functions in documentation 2025-03-11 21:19:13 +01:00
lispref ; Improve documentation of incf and decf 2025-03-19 21:29:50 +01:00
man ; Delete troff markers from ChangeLog files 2025-02-20 02:46:43 +01:00
misc Adapt ediff to nonstandard layouts 2025-03-21 20:56:12 -04:00
translations Update copyright year to 2025 2025-01-02 18:39:42 +01:00