[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/paredit 446316e 034/224: Ignore errors while indenting aft
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/paredit 446316e 034/224: Ignore errors while indenting after inserting a comment. |
Date: |
Sat, 7 Aug 2021 09:22:13 -0400 (EDT) |
branch: elpa/paredit
commit 446316e7c2d9de0ce050f97b1ef0b623192d6f7c
Author: Taylor R Campbell <campbell@mumble.net>
Commit: Taylor R Campbell <campbell@mumble.net>
Ignore errors while indenting after inserting a comment.
This fixes an error after applying M-; to `(foo |)'.
darcs-hash:20090708194039-00fcc-0f608f8e09edabce65c5b45d5d8c86ef24bb8dcd
---
paredit.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/paredit.el b/paredit.el
index f05f540..6fc8de7 100644
--- a/paredit.el
+++ b/paredit.el
@@ -1082,7 +1082,7 @@ This is expected to be called only in
`paredit-comment-dwim'; do not
(save-excursion
(newline)
(lisp-indent-line)
- (indent-sexp))))
+ (paredit-ignore-sexp-errors (indent-sexp)))))
(t
;; Margin comment
(indent-to comment-column 1) ; 1 -> force one leading space
- [nongnu] elpa/paredit 23afafc 128/224: Add some trivial tests for region deletion/killing commands., (continued)
- [nongnu] elpa/paredit 23afafc 128/224: Add some trivial tests for region deletion/killing commands., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 2e61740 134/224: Fix docstring of `paredit-check-region-for-delete'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit eb138b5 135/224: Replace `paredit-wrap-sexp' tests by `paredit-wrap-round' &c. tests., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit a795774 143/224: Set `show-trailing-whitespace' to nil when running tests., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit f349cc5 003/224: Changes for version 7., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit f588dcb 007/224: Changes for version 11., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit a04d9b6 010/224: Changes for version 14, introducing fancy comment handling., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 342fee5 017/224: Changes for version 21., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 1bb9831 002/224: Changes for versions 2--6., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 36f2f18 009/224: Changes for version 13., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 446316e 034/224: Ignore errors while indenting after inserting a comment.,
ELPA Syncer <=
- [nongnu] elpa/paredit fd2c399 049/224: Implement `paredit-kill-ring-save' and `paredit-kill-region'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 79b5d96 054/224: Bump version: 22 beta -> 23., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 3f6b294 062/224: Fix comment in `paredit-forward' on `up-list' vs `forward-char'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit f9ab2e7 080/224: Show point in `paredit-splice-sexp-killing-backward' example., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 0efc755 088/224: Fix typo: `imbalanced' -> `unbalanced' in `paredit-mode' docstring., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 2ed66de 092/224: Use `?\ ' rather than `?\s' to appease GNU Emacs 21., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit ace4f62 074/224: Count S-expressions more carefully in `paredit-insert-pair'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 43bf81f 028/224: Implement `paredit-copy-as-kill'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit e80ffcc 112/224: Check for expected errors in `paredit-backward-delete'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 3bf30f9 115/224: Omit redundant `paredit-backward-delete' test., ELPA Syncer, 2021/08/07