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

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

[nongnu] elpa/paredit c92197a 196/224: Tweak comment about barfage error


From: ELPA Syncer
Subject: [nongnu] elpa/paredit c92197a 196/224: Tweak comment about barfage error.
Date: Sat, 7 Aug 2021 09:22:49 -0400 (EDT)

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

    Tweak comment about barfage error.
---
 paredit.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/paredit.el b/paredit.el
index 8e52995..e54b1f3 100644
--- a/paredit.el
+++ b/paredit.el
@@ -2333,8 +2333,8 @@ Automatically reindent the newly barfed S-expression with 
respect to
                   (backward-sexp))))
           (paredit-skip-whitespace nil) ; Skip leading whitespace.
           (cond ((bobp)
-                 ;++ This will have deleted the close.  But there is no
-                 ;++ open.  Is that OK?
+                 ;++ We'll have deleted the close, but there's no open.
+                 ;++ Is that OK?
                  (error "Barfing all subexpressions with no open-paren?"))
                 ((paredit-in-comment-p) ; Don't put the close-paren in
                  (newline)))            ;   a comment.
@@ -2473,6 +2473,8 @@ Automatically reindent the barfed S-expression and the 
form from which
           (while (progn (paredit-skip-whitespace t) (eq (char-after) ?\; ))
             (forward-line 1))
           (if (eobp)
+              ;++ We'll have deleted the close, but there's no open.
+              ;++ Is that OK?
               (error "Barfing all subexpressions with no close-paren?"))
           ;** Don't use `insert' here.  Consider, e.g., barfing from
           ;**   (foo|)



reply via email to

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