mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/textmodes/sgml-mode.el (sgml-mode): Set skeleton-end-newline to nil.
Prevent skeleton.el from adding a newline to each inserted skeleton. Those which do want a newline do that explicitly in their define-skeleton form. This is what texinfo-mode does (bug#52864).
This commit is contained in:
parent
58d06af57d
commit
3fc8032a1a
1 changed files with 1 additions and 0 deletions
|
|
@ -624,6 +624,7 @@ Do \\[describe-key] on the following bindings to discover what they do.
|
|||
(setq-local comment-indent-function 'sgml-comment-indent)
|
||||
(setq-local comment-line-break-function 'sgml-comment-indent-new-line)
|
||||
(setq-local skeleton-further-elements '((completion-ignore-case t)))
|
||||
(setq-local skeleton-end-newline nil)
|
||||
(setq-local skeleton-end-hook
|
||||
(lambda ()
|
||||
(or (eolp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue