diff options
| -rw-r--r-- | lisp/simple.el | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 072723cd644..13cfa3487da 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -6828,9 +6828,12 @@ other purposes." | |||
| 6828 | 6828 | ||
| 6829 | (define-minor-mode visual-line-mode | 6829 | (define-minor-mode visual-line-mode |
| 6830 | "Toggle visual line based editing (Visual Line mode). | 6830 | "Toggle visual line based editing (Visual Line mode). |
| 6831 | With a prefix argument ARG, enable Visual Line mode if ARG is | 6831 | Interactively, with a prefix argument, enable |
| 6832 | positive, and disable it otherwise. If called from Lisp, enable | 6832 | Visual Line mode if the prefix argument is positive, |
| 6833 | the mode if ARG is omitted or nil. | 6833 | and disable it otherwise. If called from Lisp, toggle |
| 6834 | the mode if ARG is `toggle', disable the mode if ARG is | ||
| 6835 | a non-positive integer, and enable the mode otherwise | ||
| 6836 | \(including if ARG is omitted or nil or a positive integer). | ||
| 6834 | 6837 | ||
| 6835 | When Visual Line mode is enabled, `word-wrap' is turned on in | 6838 | When Visual Line mode is enabled, `word-wrap' is turned on in |
| 6836 | this buffer, and simple editing commands are redefined to act on | 6839 | this buffer, and simple editing commands are redefined to act on |
| @@ -7262,9 +7265,12 @@ Some major modes set this.") | |||
| 7262 | 7265 | ||
| 7263 | (define-minor-mode auto-fill-mode | 7266 | (define-minor-mode auto-fill-mode |
| 7264 | "Toggle automatic line breaking (Auto Fill mode). | 7267 | "Toggle automatic line breaking (Auto Fill mode). |
| 7265 | With a prefix argument ARG, enable Auto Fill mode if ARG is | 7268 | Interactively, with a prefix argument, enable |
| 7266 | positive, and disable it otherwise. If called from Lisp, enable | 7269 | Auto Fill mode if the prefix argument is positive, |
| 7267 | the mode if ARG is omitted or nil. | 7270 | and disable it otherwise. If called from Lisp, toggle |
| 7271 | the mode if ARG is `toggle', disable the mode if ARG is | ||
| 7272 | a non-positive integer, and enable the mode otherwise | ||
| 7273 | \(including if ARG is omitted or nil or a positive integer). | ||
| 7268 | 7274 | ||
| 7269 | When Auto Fill mode is enabled, inserting a space at a column | 7275 | When Auto Fill mode is enabled, inserting a space at a column |
| 7270 | beyond `current-fill-column' automatically breaks the line at a | 7276 | beyond `current-fill-column' automatically breaks the line at a |