* longlines.el (longlines-mode): Document what ARG does.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 3 Jul 2011 00:59:01 +0000 (02:59 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 3 Jul 2011 00:59:01 +0000 (02:59 +0200)
Fixes: debbugs:6150

lisp/ChangeLog
lisp/longlines.el

index d4cce86..fcc26fa 100644 (file)
@@ -1,3 +1,7 @@
+2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * longlines.el (longlines-mode): Document what ARG does (bug#6150).
+
 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * custom.el (defcustom): Clarify that :set is only used in the
index 387ce39..e81a235 100644 (file)
@@ -95,11 +95,15 @@ This is used when `longlines-show-hard-newlines' is on."
 
 ;;;###autoload
 (define-minor-mode longlines-mode
-  "Toggle Long Lines mode.
+  "Minor mode to wrap long lines.
 In Long Lines mode, long lines are wrapped if they extend beyond
 `fill-column'.  The soft newlines used for line wrapping will not
 show up when the text is yanked or saved to disk.
 
+With no argument, this command toggles Flyspell mode.
+With a prefix argument ARG, turn Flyspell minor mode on if ARG is positive,
+otherwise turn it off.
+
 If the variable `longlines-auto-wrap' is non-nil, lines are automatically
 wrapped whenever the buffer is changed.  You can always call
 `fill-paragraph' to fill individual paragraphs.