From: Lars Magne Ingebrigtsen Date: Sun, 3 Jul 2011 00:59:01 +0000 (+0200) Subject: * longlines.el (longlines-mode): Document what ARG does. X-Git-Tag: emacs-pretest-24.0.90~104^2~152^2~223 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=36adf6ceb0eedd01893b25acf784b4f858847ab9;p=emacs.git * longlines.el (longlines-mode): Document what ARG does. Fixes: debbugs:6150 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d4cce8627c2..fcc26fab9c0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-07-03 Lars Magne Ingebrigtsen + + * longlines.el (longlines-mode): Document what ARG does (bug#6150). + 2011-07-02 Lars Magne Ingebrigtsen * custom.el (defcustom): Clarify that :set is only used in the diff --git a/lisp/longlines.el b/lisp/longlines.el index 387ce394f50..e81a235a17b 100644 --- a/lisp/longlines.el +++ b/lisp/longlines.el @@ -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.