mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Fix bugs merged with bug#25428
* lisp/simple.el (auto-fill-mode, visual-line-mode): Doc fix. (Bug#13926) (Bug#25434) (Bug#25435)
This commit is contained in:
parent
5bb61463a2
commit
dcc3ef3ee7
1 changed files with 12 additions and 6 deletions
|
|
@ -6828,9 +6828,12 @@ other purposes."
|
|||
|
||||
(define-minor-mode visual-line-mode
|
||||
"Toggle visual line based editing (Visual Line mode).
|
||||
With a prefix argument ARG, enable Visual Line mode if ARG is
|
||||
positive, and disable it otherwise. If called from Lisp, enable
|
||||
the mode if ARG is omitted or nil.
|
||||
Interactively, with a prefix argument, enable
|
||||
Visual Line mode if the prefix argument is positive,
|
||||
and disable it otherwise. If called from Lisp, toggle
|
||||
the mode if ARG is `toggle', disable the mode if ARG is
|
||||
a non-positive integer, and enable the mode otherwise
|
||||
\(including if ARG is omitted or nil or a positive integer).
|
||||
|
||||
When Visual Line mode is enabled, `word-wrap' is turned on in
|
||||
this buffer, and simple editing commands are redefined to act on
|
||||
|
|
@ -7262,9 +7265,12 @@ Some major modes set this.")
|
|||
|
||||
(define-minor-mode auto-fill-mode
|
||||
"Toggle automatic line breaking (Auto Fill mode).
|
||||
With a prefix argument ARG, enable Auto Fill mode if ARG is
|
||||
positive, and disable it otherwise. If called from Lisp, enable
|
||||
the mode if ARG is omitted or nil.
|
||||
Interactively, with a prefix argument, enable
|
||||
Auto Fill mode if the prefix argument is positive,
|
||||
and disable it otherwise. If called from Lisp, toggle
|
||||
the mode if ARG is `toggle', disable the mode if ARG is
|
||||
a non-positive integer, and enable the mode otherwise
|
||||
\(including if ARG is omitted or nil or a positive integer).
|
||||
|
||||
When Auto Fill mode is enabled, inserting a space at a column
|
||||
beyond `current-fill-column' automatically breaks the line at a
|
||||
|
|
|
|||
Loading…
Reference in a new issue