Remove sh-mode's skeleton-end-hook

* lisp/progmodes/sh-script.el (sh-mode): Remove local setting of
`skeleton-end-hook', `skeleton-insert' already does `newline-and-indent'
and also respects `skeleton-end-newline' (Bug#16634).
This commit is contained in:
Noam Postavsky 2016-12-19 20:16:50 -05:00
parent eb3416016b
commit 5da2a5f449

View file

@ -1629,8 +1629,6 @@ with your script for an edit-interpret-debug cycle."
(setq-local skeleton-pair-default-alist
sh-skeleton-pair-default-alist)
(setq-local skeleton-end-hook
(lambda () (or (eolp) (newline) (indent-relative))))
(setq-local paragraph-start (concat page-delimiter "\\|$"))
(setq-local paragraph-separate (concat paragraph-start "\\|#!/"))