summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@mumble.net>2011-03-22 20:26:02 +0000
committerTaylor R Campbell <campbell@mumble.net>2011-03-22 20:26:02 +0000
commit5e210b236e22e47aa1777e9eade76b4e05ef18c6 (patch)
tree5d844b90707bb31c7769b0cacef58900f00c1340
parent79e7555a4296ff12c6723acd4b87e008f85dfaad (diff)
Fix bug in recent change to more carefully delete comment ends.
Ignore-this: c5c86de0f646ccce29ee055a85a8ddd0 darcs-hash:20110322202602-00fcc-1629f9e79df478d86ca8206e5cb95ad13de8f2e5
-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))