summaryrefslogtreecommitdiff
path: root/paredit.el
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@mumble.net>2011-03-20 19:06:01 +0000
committerTaylor R Campbell <campbell@mumble.net>2011-03-20 19:06:01 +0000
commitbd0e5ba35e819d2019a592b608ff4a036038a953 (patch)
tree9a7c2c0dec1d9a225b13572f7d3ad650f52e326d /paredit.el
parent67caf7e5a7de9d1cec1181038d76a312644067cb (diff)
Don't mask errors during `buffer-string' in `paredit-unescape-string'.
Ignore-this: 8ca077b074853d64639e83f4a81dcd73 darcs-hash:20110320190601-00fcc-54e85aa35638a194de67b28be83fcf65575d7adf
Diffstat (limited to 'paredit.el')
-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