emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/paredit 67caf7e 071/224: Eliminate fboundp check for `chec


From: ELPA Syncer
Subject: [nongnu] elpa/paredit 67caf7e 071/224: Eliminate fboundp check for `check-parens' in `paredit-check-region'.
Date: Sat, 7 Aug 2021 09:22:21 -0400 (EDT)

branch: elpa/paredit
commit 67caf7e5a7de9d1cec1181038d76a312644067cb
Author: Taylor R Campbell <campbell@mumble.net>
Commit: Taylor R Campbell <campbell@mumble.net>

    Eliminate fboundp check for `check-parens' in `paredit-check-region'.
    
    Ignore-this: 5d7b87a61c56931aa9df39a6c6c7df58
    
    No more GNU Emacs 20.
    
    darcs-hash:20110320185519-00fcc-251fd8bafde8103581af11f59f331ad940b29e81
---
 paredit.el | 7 +------
 1 file changed, 1 insertion(+), 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]