summaryrefslogtreecommitdiff
path: root/doc/lispref/windows.texi
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-06-03 05:20:16 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-06-03 05:20:16 +0200
commit1e42c2c5fcf3f6162de3072d221c2f97c9fb1c67 (patch)
tree2b7b9982986d5312b80655c060be4380693774e6 /doc/lispref/windows.texi
parent2340243a312367e225437c7018cd1139afd7e189 (diff)
downloademacs-1e42c2c5fcf3f6162de3072d221c2f97c9fb1c67.tar.gz
Remove window-max-characters-per-line
* doc/lispref/windows.texi (Window Sizes): * doc/lispref/display.texi (Size of Displayed Text): Remove documentation. * lisp/fringe.el (fringe-mode): Point to the right function. * lisp/window.el (window-char-pixel-width) (window-char-pixel-height, window-max-characters-per-line): Remove functions -- this was already added as window-max-chars-per-line. * src/window.c (Fwindow_body_width): Adjust doc string.
Diffstat (limited to 'doc/lispref/windows.texi')
-rw-r--r--doc/lispref/windows.texi9
1 files changed, 0 insertions, 9 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 03d0f28867a..0d285b2ad46 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -759,15 +759,6 @@ column and total width (@pxref{Coordinates and Windows}). The optional
argument @var{round} behaves as it does for @code{window-total-height}.
@end defun
-@defun window-max-characters-per-line &optional window face
-The maximum width of a line that can be displayed in a window (without
-breaking the line) depends on many things, like the font used on the
-line, and whether there are fringes around the window. This
-convenience function can be used to calculate that number. If
-@var{window} isn't given, this defaults to the currently selected
-window. if @var{var} isn't given, the @code{default} face is used.
-@end defun
-
@defun window-total-size &optional window horizontal round
This function returns either the total height in lines or the total
width in columns of the window @var{window}. If @var{horizontal} is