diff options
author | Taylor R Campbell <campbell@mumble.net> | 2011-03-20 18:55:19 +0000 |
---|---|---|
committer | Taylor R Campbell <campbell@mumble.net> | 2011-03-20 18:55:19 +0000 |
commit | 67caf7e5a7de9d1cec1181038d76a312644067cb (patch) | |
tree | 4dd49be17079edd89021389a313e70714145bff3 /paredit.el | |
parent | f27c480fdb1f525177036f93cab454a40197df4e (diff) |
Eliminate fboundp check for `check-parens' in `paredit-check-region'.
Ignore-this: 5d7b87a61c56931aa9df39a6c6c7df58
No more GNU Emacs 20.
darcs-hash:20110320185519-00fcc-251fd8bafde8103581af11f59f331ad940b29e81
Diffstat (limited to 'paredit.el')
-rw-r--r-- | paredit.el | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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 |