From: Juri Linkov Date: Tue, 23 Mar 2004 07:35:35 +0000 (+0000) Subject: (woman-fill-frame): Doc fix. X-Git-Tag: ttn-vms-21-2-B4~7140 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bd48e7c618ef107972df86eeb5ae9edac5883cf7;p=emacs.git (woman-fill-frame): Doc fix. (woman-decode-region): Use window-width instead of frame-width. --- diff --git a/lisp/woman.el b/lisp/woman.el index ed04ae4c83f..d25f60f58c1 100644 --- a/lisp/woman.el +++ b/lisp/woman.el @@ -809,7 +809,7 @@ Only useful when run on a graphic display such as X or MS-Windows." (defcustom woman-fill-frame nil ;; Based loosely on a suggestion by Theodore Jump: - "*If non-nil then most of the frame width is used." + "*If non-nil then most of the window width is used." :type 'boolean :group 'woman-formatting) @@ -2211,7 +2211,7 @@ Currently set only from '\" t in the first line of the source file.") ;; Based loosely on a suggestion by Theodore Jump: (if (or woman-fill-frame (not (and (integerp woman-fill-column) (> woman-fill-column 0)))) - (setq woman-fill-column (- (frame-width) woman-default-indent))) + (setq woman-fill-column (- (window-width) woman-default-indent))) ;; Check for preprocessor requests: (goto-char from)