]> git.eshelyaron.com Git - emacs.git/commitdiff
(woman-fill-frame): Doc fix.
authorJuri Linkov <juri@jurta.org>
Tue, 23 Mar 2004 07:35:35 +0000 (07:35 +0000)
committerJuri Linkov <juri@jurta.org>
Tue, 23 Mar 2004 07:35:35 +0000 (07:35 +0000)
(woman-decode-region): Use window-width instead of frame-width.

lisp/woman.el

index ed04ae4c83f8ee778ec90a251447166d60044d55..d25f60f58c10397a4458b321254ce74501166ab3 100644 (file)
@@ -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)