Mercurial > emacs
comparison lisp/longlines.el @ 63557:6a1d35d4ea03
(longlines-mode, longlines-show-hard-newlines): Doc fixes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 17 Jun 2005 14:33:40 +0000 |
parents | f855a20b356c |
children | 6fb026ad601f |
comparison
equal
deleted
inserted
replaced
63556:96c3254c37c5 | 63557:6a1d35d4ea03 |
---|---|
58 with differing widths." | 58 with differing widths." |
59 :group 'longlines | 59 :group 'longlines |
60 :type 'boolean) | 60 :type 'boolean) |
61 | 61 |
62 (defcustom longlines-show-hard-newlines nil | 62 (defcustom longlines-show-hard-newlines nil |
63 "*Non-nil means each hard newline is marked with a symbol. | 63 "*Non-nil means each hard newline is marked on the screen. |
64 \(The variable `longlines-show-effect' controls what they look like.) | |
64 You can also enable the display temporarily, using the command | 65 You can also enable the display temporarily, using the command |
65 `longlines-show-hard-newlines'" | 66 `longlines-show-hard-newlines'" |
66 :group 'longlines | 67 :group 'longlines |
67 :type 'boolean) | 68 :type 'boolean) |
68 | 69 |
91 "Toggle Long Lines mode. | 92 "Toggle Long Lines mode. |
92 In Long Lines mode, long lines are wrapped if they extend beyond | 93 In Long Lines mode, long lines are wrapped if they extend beyond |
93 `fill-column'. The soft newlines used for line wrapping will not | 94 `fill-column'. The soft newlines used for line wrapping will not |
94 show up when the text is yanked or saved to disk. | 95 show up when the text is yanked or saved to disk. |
95 | 96 |
96 If `longlines-auto-wrap' is non-nil, lines are automatically | 97 If the variable `longlines-auto-wrap' is non-nil, lines are automatically |
97 wrapped whenever the buffer is changed. You can always call | 98 wrapped whenever the buffer is changed. You can always call |
98 `fill-paragraph' to fill individual paragraphs. | 99 `fill-paragraph' to fill individual paragraphs. |
99 | 100 |
100 If `longlines-show-hard-newlines' is non-nil, hard newlines will | 101 If the variable `longlines-show-hard-newlines' is non-nil, hard newlines |
101 be marked by a symbol." | 102 are indicated with a symbol." |
102 :group 'longlines :lighter " ll" | 103 :group 'longlines :lighter " ll" |
103 (if longlines-mode | 104 (if longlines-mode |
104 ;; Turn on longlines mode | 105 ;; Turn on longlines mode |
105 (progn | 106 (progn |
106 (use-hard-newlines 1 'never) | 107 (use-hard-newlines 1 'never) |