bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4136: 23.1; delete-pair


From: martin rudalics
Subject: bug#4136: 23.1; delete-pair
Date: Sat, 15 Aug 2009 12:11:58 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> 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'

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]