|
From: | Stefan Monnier |
Subject: | bug#17183: can't insert a quote pair before another |
Date: | Sun, 06 Apr 2014 08:39:26 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> + (unwind-protect > + (progn > + (delete-char -1) > + (not (nth 3 (syntax-ppss)))) > + (insert-char char))) Yuck! Why not (save-excursion (not (nth 3 (syntax-ppss (-1 (point))))))? Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |