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:
parent
eb3416016b
commit
5da2a5f449
1 changed files with 0 additions and 2 deletions
|
@ -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 "\\|#!/"))
|
||||
|
|
Loading…
Add table
Reference in a new issue