diff options
author | Taylor R Campbell <campbell@mumble.net> | 2013-07-09 19:19:58 +0000 |
---|---|---|
committer | Taylor R Campbell <campbell@mumble.net> | 2013-07-09 19:20:38 +0000 |
commit | f8bf24c8fb45bf0b9919be61ee9b30caae53d782 (patch) | |
tree | 70e3a6a6f36f8a0fcb5e6ab9ef45a2d5cf1907c1 /paredit.el | |
parent | 6304b64668b0370768610e34aeb670a677fb7229 (diff) |
Allow slurping while in a character.
Diffstat (limited to 'paredit.el')
-rw-r--r-- | paredit.el | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -2230,8 +2230,7 @@ If in a string, move the opening double-quote forward by one without altering any indentation or formatting." (interactive) (save-excursion - (cond ((or (paredit-in-comment-p) - (paredit-in-char-p)) + (cond ((paredit-in-comment-p) (error "Invalid context for slurping S-expressions.")) ((paredit-in-string-p) (paredit-forward-slurp-into-string)) @@ -2316,8 +2315,7 @@ If in a string, move the opening double-quote backward by one without altering any indentation or formatting." (interactive) (save-excursion - (cond ((or (paredit-in-comment-p) - (paredit-in-char-p)) + (cond ((paredit-in-comment-p) (error "Invalid context for slurping S-expressions.")) ((paredit-in-string-p) (paredit-backward-slurp-into-string)) |