branch: elpa/nix-mode
commit 8a65262d374931b476b3a15458cee52031531c0f
Author: Matthew Bauer <[email protected]>
Commit: Matthew Bauer <[email protected]>
Remove smartparens feature detection
---
nix-mode.el | 6 ------
1 file changed, 6 deletions(-)
diff --git a/nix-mode.el b/nix-mode.el
index 7670d7b6e4..2a2f07f3b5 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -533,11 +533,5 @@ The hook `nix-mode-hook' is run when Nix mode is started.
(add-to-list 'auto-mode-alist '("\\.nix\\'" . nix-mode))
(add-to-list 'auto-mode-alist '("\\.nix.in\\'" . nix-mode)))
-(when (featurep 'smartparens)
- (sp-with-modes 'nix-mode
- (sp-local-pair "'" "'" :unless '(sp-in-comment-p sp-in-string-quotes-p))
- (sp-local-pair "\"" "\"")
- (sp-local-pair "''" "''" :unless '(sp-in-comment-p
sp-in-string-quotes-p))))
-
(provide 'nix-mode)
;;; nix-mode.el ends here