Subject: bug#4136: 23.1; delete-pair

From: Juri Linkov <[email-masked]>
Date: Sun, 16 Aug 2009 02:03:12 +0300

>> This is fixed in the following version:
>>
>> (defun delete-pair ()
>>   "Delete a pair of characters enclosing the sexp that follows point."
>>   (interactive)
>>   (save-excursion
>>     (forward-sexp 1)
>>     (save-excursion
>>       (backward-sexp 1)
>>       (skip-syntax-forward "'")
>>       (delete-char 1))
>>     (delete-char -1)))
>
> Still doesn't seem TDTRT with `point' before something like
>
>        `foo'

I know, I know, after I fix this, you'll come up with another
test case like

         `foo bar'

;-)

-- 
Juri Linkov
http://www.jurta.org/emacs/