diff options
| author | Paul Eggert | 2018-04-23 10:44:24 -0700 |
|---|---|---|
| committer | Paul Eggert | 2018-04-23 10:45:13 -0700 |
| commit | 3c6b59918aaaac295fd6354dae929859eaaacfa2 (patch) | |
| tree | 4bad6d2baa2d7b39cadc7d320bb7fd55b7518f3a | |
| parent | d1ab86f2a4936d161ed715e1f8d7d30b6f63c3d9 (diff) | |
| download | emacs-3c6b59918aaaac295fd6354dae929859eaaacfa2.tar.gz emacs-3c6b59918aaaac295fd6354dae929859eaaacfa2.zip | |
Backspace is not a paragraph separator in Texinfo files
* lisp/textmodes/texinfo.el (texinfo-mode): Omit backspace from
paragraph separator and start. Perhaps there was some confusion
about .texi vs .info files long ago?
| -rw-r--r-- | doc/misc/org.texi | 4 | ||||
| -rw-r--r-- | lisp/textmodes/texinfo.el | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/misc/org.texi b/doc/misc/org.texi index 7453b1db042..807b80dbdb5 100644 --- a/doc/misc/org.texi +++ b/doc/misc/org.texi | |||
| @@ -19694,8 +19694,8 @@ mentioned in the manual. For a complete list, use @kbd{M-x org-customize | |||
| 19694 | @c Local variables: | 19694 | @c Local variables: |
| 19695 | @c fill-column: 77 | 19695 | @c fill-column: 77 |
| 19696 | @c indent-tabs-mode: nil | 19696 | @c indent-tabs-mode: nil |
| 19697 | @c paragraph-start: "\\|^@[a-zA-Z]*[ \n]\\|^@x?org\\(key\\|cmd\\)\\|\f\\|[ ]*$" | 19697 | @c paragraph-start: "^@[a-zA-Z]*[ \n]\\|^@x?org\\(key\\|cmd\\)\\|\f\\|[ ]*$" |
| 19698 | @c paragraph-separate: "\\|^@[a-zA-Z]*[ \n]\\|^@x?org\\(key\\|cmd\\)\\|[ \f]*$" | 19698 | @c paragraph-separate: "^@[a-zA-Z]*[ \n]\\|^@x?org\\(key\\|cmd\\)\\|[ \f]*$" |
| 19699 | @c End: | 19699 | @c End: |
| 19700 | 19700 | ||
| 19701 | 19701 | ||
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index 16399bd9fd7..ff723a4fb94 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el | |||
| @@ -596,9 +596,9 @@ value of `texinfo-mode-hook'." | |||
| 596 | (setq-local require-final-newline mode-require-final-newline) | 596 | (setq-local require-final-newline mode-require-final-newline) |
| 597 | (setq-local indent-tabs-mode nil) | 597 | (setq-local indent-tabs-mode nil) |
| 598 | (setq-local paragraph-separate | 598 | (setq-local paragraph-separate |
| 599 | (concat "\b\\|@[a-zA-Z]*[ \n]\\|" | 599 | (concat "@[a-zA-Z]*[ \n]\\|" |
| 600 | paragraph-separate)) | 600 | paragraph-separate)) |
| 601 | (setq-local paragraph-start (concat "\b\\|@[a-zA-Z]*[ \n]\\|" | 601 | (setq-local paragraph-start (concat "@[a-zA-Z]*[ \n]\\|" |
| 602 | paragraph-start)) | 602 | paragraph-start)) |
| 603 | (setq-local sentence-end-base "\\(@\\(end\\)?dots{}\\|[.?!]\\)[]\"'”)}]*") | 603 | (setq-local sentence-end-base "\\(@\\(end\\)?dots{}\\|[.?!]\\)[]\"'”)}]*") |
| 604 | (setq-local fill-column 70) | 604 | (setq-local fill-column 70) |