summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paredit.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/paredit.el b/paredit.el
index 86e2678..bb0f544 100644
--- a/paredit.el
+++ b/paredit.el
@@ -1362,8 +1362,8 @@ With a `C-u' prefix argument, simply delete a character backward,
(backward-char)
;; Must call `paredit-in-string-p' before
;; `paredit-in-comment-p'.
- (and (not (paredit-in-string-p))
- (paredit-in-comment-p)))
+ (not (or (paredit-in-string-p)
+ (paredit-in-comment-p))))
(not (paredit-region-ok-p (point) (point-at-eol))))
(paredit-check-region (point) (point-at-eol)))
(backward-delete-char-untabify +1))