summaryrefslogtreecommitdiff
path: root/paredit.el
diff options
context:
space:
mode:
Diffstat (limited to 'paredit.el')
-rw-r--r--paredit.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/paredit.el b/paredit.el
index 4c4f9e2..427fdbf 100644
--- a/paredit.el
+++ b/paredit.el
@@ -2471,12 +2471,7 @@ If no parse state is supplied, compute one from the beginning of the
(defun paredit-check-region (start end)
(save-restriction
(narrow-to-region start end)
- (if (fboundp 'check-parens)
- (check-parens)
- (save-excursion
- (goto-char (point-min))
- (while (not (eobp))
- (forward-sexp))))))
+ (check-parens)))
(defun paredit-region-ok-p (start end)
(paredit-handle-sexp-errors