Subject: Re: bug#16799: 24.3.50; delete-selection-mode and electric-pair-mode interaction

From: Stefan Monnier <[email-masked]>
Date: Wed, 19 Feb 2014 23:49:34 -0500

> -  (let* ((pre-string-or-comment (nth 8 (save-excursion
> -                                         (syntax-ppss (1- (point))))))
> +  (let* ((pre-string-or-comment (if (> (point) (point-min))
> +                                   (nth 8 (save-excursion
> +                                            (syntax-ppss (1- (point)))))
> +                                 t))

Looks right, except that I'd write (not (bobp)) instead of (> (point)
(point-min)).

        Stefan