summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paredit.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/paredit.el b/paredit.el
index 427fdbf..33dff5e 100644
--- a/paredit.el
+++ b/paredit.el
@@ -2079,9 +2079,8 @@ With a prefix argument N, move up N lists before wrapping."
(search-forward "\\" nil t))
(delete-char -1)
(forward-char))
- (condition-case condition
- (progn (check-parens) (buffer-string))
- (error nil))))
+ (funcall (condition-case condition (progn (check-parens) 'buffer-string)
+ (error (lambda () nil))))))
;;;; Slurpage & Barfage