diff options
| author | Noam Postavsky | 2016-12-19 20:16:50 -0500 |
|---|---|---|
| committer | Noam Postavsky | 2017-01-01 16:36:22 -0500 |
| commit | 5da2a5f449cd0c8f16f2244c90b57e27ca373892 (patch) | |
| tree | c6da767daa7af74863d9533d09296d5a971c77d9 /lisp | |
| parent | eb3416016b473478df027ab176f512d7136f8d45 (diff) | |
| download | emacs-5da2a5f449cd0c8f16f2244c90b57e27ca373892.tar.gz emacs-5da2a5f449cd0c8f16f2244c90b57e27ca373892.zip | |
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).
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/progmodes/sh-script.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index da0819e1071..a0bbf55a8f4 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -1629,8 +1629,6 @@ with your script for an edit-interpret-debug cycle." | |||
| 1629 | 1629 | ||
| 1630 | (setq-local skeleton-pair-default-alist | 1630 | (setq-local skeleton-pair-default-alist |
| 1631 | sh-skeleton-pair-default-alist) | 1631 | sh-skeleton-pair-default-alist) |
| 1632 | (setq-local skeleton-end-hook | ||
| 1633 | (lambda () (or (eolp) (newline) (indent-relative)))) | ||
| 1634 | 1632 | ||
| 1635 | (setq-local paragraph-start (concat page-delimiter "\\|$")) | 1633 | (setq-local paragraph-start (concat page-delimiter "\\|$")) |
| 1636 | (setq-local paragraph-separate (concat paragraph-start "\\|#!/")) | 1634 | (setq-local paragraph-separate (concat paragraph-start "\\|#!/")) |