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 | |
| parent | 67163749cc44f81f157fce9b63aa718dc5f49538 (diff) | |
| download | emacs-c5cfcbe076a00c6b21be6faa807549e0881ed422.tar.gz emacs-c5cfcbe076a00c6b21be6faa807549e0881ed422.zip | |
* buffer.c (word_wrap): Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/buffer.c | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7a9ab1757eb..7ea9ad8f3e3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-06-06 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * buffer.c (word_wrap): Doc fix. | ||
| 4 | |||
| 1 | 2012-06-04 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2012-06-04 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | * xdisp.c (note_mode_line_or_margin_highlight): Pacify gcc -Wall. | 7 | * xdisp.c (note_mode_line_or_margin_highlight): Pacify gcc -Wall. |
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), |