gnu.emacs/doc
Andrea Alberti 0ff6ee371f Fix :align-to 'center' when line numbers are displayed
When line numbers are shown, 'center' was computed as the center of the
whole text area, which includes the line-number display, so it landed
half the line-number width too far to the right.  Center it on the
editable text area instead.  (Bug#81275)
* src/xdisp.c (calc_pixel_width_or_height): Correct the adjustment of
'center' for line-number display, so 'center' is the center of the
editable part of the text area.

* doc/lispref/display.texi (Pixel Specification): Say that 'center'
denotes the center of the editable text area.
2026-06-21 08:44:59 +03:00
..
emacs Optional display of overlay-arrow in margin (bug#81109) 2026-06-13 11:51:27 +03:00
lispintro ; * doc/lispintro/emacs-lisp-intro.texi: Update *Backtrace* outputs. 2026-05-03 12:06:54 +01:00
lispref Fix :align-to 'center' when line numbers are displayed 2026-06-21 08:44:59 +03:00
man ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
misc Merge from origin/emacs-31 2026-06-11 16:12:15 +01:00
translations ; * doc/translations/README: Fix typos. 2026-06-08 18:39:03 +02:00