1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-23 22:42:01 -07:00

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?
This commit is contained in:
Paul Eggert 2018-04-23 10:44:24 -07:00 committed by Paul Eggert
parent d1ab86f2a4
commit 3c6b59918a
2 changed files with 4 additions and 4 deletions

View file

@ -19694,8 +19694,8 @@ mentioned in the manual. For a complete list, use @kbd{M-x org-customize
@c Local variables:
@c fill-column: 77
@c indent-tabs-mode: nil
@c paragraph-start: "\\|^@[a-zA-Z]*[ \n]\\|^@x?org\\(key\\|cmd\\)\\|\f\\|[ ]*$"
@c paragraph-separate: "\\|^@[a-zA-Z]*[ \n]\\|^@x?org\\(key\\|cmd\\)\\|[ \f]*$"
@c paragraph-start: "^@[a-zA-Z]*[ \n]\\|^@x?org\\(key\\|cmd\\)\\|\f\\|[ ]*$"
@c paragraph-separate: "^@[a-zA-Z]*[ \n]\\|^@x?org\\(key\\|cmd\\)\\|[ \f]*$"
@c End:

View file

@ -596,9 +596,9 @@ value of `texinfo-mode-hook'."
(setq-local require-final-newline mode-require-final-newline)
(setq-local indent-tabs-mode nil)
(setq-local paragraph-separate
(concat "\b\\|@[a-zA-Z]*[ \n]\\|"
(concat "@[a-zA-Z]*[ \n]\\|"
paragraph-separate))
(setq-local paragraph-start (concat "\b\\|@[a-zA-Z]*[ \n]\\|"
(setq-local paragraph-start (concat "@[a-zA-Z]*[ \n]\\|"
paragraph-start))
(setq-local sentence-end-base "\\(@\\(end\\)?dots{}\\|[.?!]\\)[]\"'”)}]*")
(setq-local fill-column 70)