Skip to content

Commit 8e22242

Browse files
authored
Revert "Add initial support for smartparens-mode" (#387)
1 parent b533580 commit 8e22242

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

clojure-mode.el

+1-9
Original file line numberDiff line numberDiff line change
@@ -342,13 +342,6 @@ instead of to `clojure-mode-map'."
342342
(add-to-list 'paredit-space-for-delimiter-predicates
343343
#'clojure-no-space-after-tag)))
344344

345-
(defun clojure-smartparens-setup ()
346-
"Make \"smartparens-mode\" play nicely with `clojure-mode'."
347-
(when (and (fboundp 'sp-with-modes) (fboundp 'sp-local-pair))
348-
(sp-with-modes '(clojure-mode)
349-
(sp-local-pair "#{" "}")
350-
(sp-local-pair "#(" ")"))))
351-
352345
(defun clojure-mode-variables ()
353346
"Set up initial buffer-local variables for Clojure mode."
354347
(setq-local imenu-create-index-function
@@ -387,8 +380,7 @@ instead of to `clojure-mode-map'."
387380
\\{clojure-mode-map}"
388381
(clojure-mode-variables)
389382
(clojure-font-lock-setup)
390-
(add-hook 'paredit-mode-hook #'clojure-paredit-setup)
391-
(add-hook 'smartparens-mode-hook #'clojure-smartparens-setup))
383+
(add-hook 'paredit-mode-hook #'clojure-paredit-setup))
392384

393385
(defcustom clojure-verify-major-mode t
394386
"If non-nil, warn when activating the wrong major-mode."

0 commit comments

Comments
 (0)