summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paredit.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/paredit.el b/paredit.el
index 4fa5c7d..550de92 100644
--- a/paredit.el
+++ b/paredit.el
@@ -1357,8 +1357,7 @@ With a numeric prefix argument N, do `kill-line' that many times."
(if (paredit-in-string-escape-p)
(backward-char))
(let ((beginning (point)))
- (while (not (or (eolp)
- (eq (char-after) ?\" )))
+ (while (not (or (eolp) (eq ?\" (char-syntax (char-after)))))
(forward-char)
;; Skip past escaped characters.
(if (eq (char-before) ?\\ )