From eec29b6c55defd93cf8b7842513875ceeab80f04 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 26 May 2024 23:52:24 +0100 Subject: [PATCH] chore(text-editing/smartparens): remove old {} pair post-handler I don't recall why I added this in 2015, and as far I can tell removing it doesn't affect anything. --- modules/text-editing/siren-smartparens.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/text-editing/siren-smartparens.el b/modules/text-editing/siren-smartparens.el index fd754a3..5cbc83c 100644 --- a/modules/text-editing/siren-smartparens.el +++ b/modules/text-editing/siren-smartparens.el @@ -66,11 +66,7 @@ (sp-transpose-sexp -1)) (defalias 'rw 'sp-rewrap-sexp) - (show-smartparens-global-mode +1) - - (sp-pair "{" nil :post-handlers - '(((lambda (&rest _ignored) - (siren-smart-open-line-above)) "RET")))) + (show-smartparens-global-mode +1)) (provide 'siren-smartparens) ;;; siren-smartparens.el ends here