Mercurial > emacs
changeset 54516:796bcfb5fa61
(woman-fill-frame): Doc fix.
(woman-decode-region): Use window-width instead of frame-width.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Tue, 23 Mar 2004 07:35:35 +0000 |
parents | 9172c9ef1dcf |
children | b4c64a995036 |
files | lisp/woman.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/woman.el Tue Mar 23 07:33:39 2004 +0000 +++ b/lisp/woman.el Tue Mar 23 07:35:35 2004 +0000 @@ -809,7 +809,7 @@ (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 @@ ;; 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)