|
From: | Stefan Monnier |
Subject: | Re: electric-pair-mode as a minor mode? |
Date: | Mon, 30 Mar 2015 16:33:14 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> Makes sense. Look better? Yup. > (concat "^" message-cite-prefix-regexp ".*$") ; citations [...] > (add-text-properties start (1+ start) > '(syntax-table (11 . nil))) > (add-text-properties (1- end) end > '(syntax-table (12 . nil)))))) The above regexp might match only 1 character and hence (1- end) can be equal to start. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |