summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-05-08 19:08:34 +0300
committerEli Zaretskii <eliz@gnu.org>2022-05-08 19:08:34 +0300
commit278b18a460caf34e422847d10ac3f0b62bef4996 (patch)
tree949f442aad8c40747568c27846bdea026f31e30d
parentfad31cebe174cc35738de943eae8e34038f11b1a (diff)
downloademacs-278b18a460caf34e422847d10ac3f0b62bef4996.tar.gz
; Fix typos and wording in a doc string
* lisp/textmodes/pixel-fill.el (pixel-fill-width): Fix doc string. (Bug#55318)
-rw-r--r--lisp/textmodes/pixel-fill.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/pixel-fill.el b/lisp/textmodes/pixel-fill.el
index 418d6a37c97..e47653e734a 100644
--- a/lisp/textmodes/pixel-fill.el
+++ b/lisp/textmodes/pixel-fill.el
@@ -45,9 +45,9 @@ of a line or the end of a line."
(defun pixel-fill-width (&optional columns window)
"Return the pixel width corresponding to COLUMNS in WINDOW.
-If COLUMNS in nil, use the enture window width.
+If COLUMNS is nil or omitted, use the entire window width.
-If WINDOW is nil, this defaults to the current window."
+If WINDOW is nil or omitted, this defaults to the selected window."
(unless window
(setq window (selected-window)))
(let ((frame (window-frame window)))