diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/textmodes/paragraphs.el | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index ffb03724781..c0199b435df 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el | |||
| @@ -34,12 +34,11 @@ | |||
| 34 | "Paragraph and sentence parsing." | 34 | "Paragraph and sentence parsing." |
| 35 | :group 'editing) | 35 | :group 'editing) |
| 36 | 36 | ||
| 37 | (defcustom use-hard-newlines nil | 37 | ;; It isn't useful to use defcustom for this variable |
| 38 | ;; because it is always buffer-local. | ||
| 39 | (defvar use-hard-newlines nil | ||
| 38 | "Non-nil means to distinguish hard and soft newlines. | 40 | "Non-nil means to distinguish hard and soft newlines. |
| 39 | See documentation for the `use-hard-newlines' function." | 41 | See documentation for the `use-hard-newlines' function.") |
| 40 | :set '(lambda (symbol value) (use-hard-newlines (or value 0))) | ||
| 41 | :group 'paragraphs | ||
| 42 | :type 'boolean) | ||
| 43 | (make-variable-buffer-local 'use-hard-newlines) | 42 | (make-variable-buffer-local 'use-hard-newlines) |
| 44 | 43 | ||
| 45 | (defun use-hard-newlines (&optional arg insert) | 44 | (defun use-hard-newlines (&optional arg insert) |