diff options
| author | Chong Yidong | 2012-06-06 14:39:24 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-06-06 14:39:24 +0800 |
| commit | c5cfcbe076a00c6b21be6faa807549e0881ed422 (patch) | |
| tree | 297e9be74816f3c443782f284e195535e1c73e79 /src/buffer.c | |
| parent | 67163749cc44f81f157fce9b63aa718dc5f49538 (diff) | |
| download | emacs-c5cfcbe076a00c6b21be6faa807549e0881ed422.tar.gz emacs-c5cfcbe076a00c6b21be6faa807549e0881ed422.zip | |
* buffer.c (word_wrap): Doc fix.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 386d9a78153..504d477494b 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5522,7 +5522,13 @@ This variable has no effect if long lines are truncated (see | |||
| 5522 | `truncate-lines' and `truncate-partial-width-windows'). If you use | 5522 | `truncate-lines' and `truncate-partial-width-windows'). If you use |
| 5523 | word-wrapping, you might want to reduce the value of | 5523 | word-wrapping, you might want to reduce the value of |
| 5524 | `truncate-partial-width-windows', since wrapping can make text readable | 5524 | `truncate-partial-width-windows', since wrapping can make text readable |
| 5525 | in narrower windows. */); | 5525 | in narrower windows. |
| 5526 | |||
| 5527 | Instead of setting this variable directly, most users should use | ||
| 5528 | Visual Line mode . Visual Line mode, when enabled, sets `word-wrap' | ||
| 5529 | to t, and additionally redefines simple editing commands to act on | ||
| 5530 | visual lines rather than logical lines. See the documentation of | ||
| 5531 | `visual-line-mode'. */); | ||
| 5526 | 5532 | ||
| 5527 | DEFVAR_PER_BUFFER ("default-directory", &BVAR (current_buffer, directory), | 5533 | DEFVAR_PER_BUFFER ("default-directory", &BVAR (current_buffer, directory), |
| 5528 | make_number (Lisp_String), | 5534 | make_number (Lisp_String), |