[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 5da2a5f 1/2: Remove sh-mode's skeleton-end-hook
From: |
Noam Postavsky |
Subject: |
[Emacs-diffs] master 5da2a5f 1/2: Remove sh-mode's skeleton-end-hook |
Date: |
Sun, 1 Jan 2017 21:35:40 +0000 (UTC) |
branch: master
commit 5da2a5f449cd0c8f16f2244c90b57e27ca373892
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
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).
---
lisp/progmodes/sh-script.el | 2 --
1 file changed, 2 deletions(-)
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index da0819e..a0bbf55 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."
(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 "\\|#!/"))