emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 34d4720: Electric quotes: Improve support for M


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 34d4720: Electric quotes: Improve support for Markdown mode (Bug#24709)
Date: Sun, 02 Jul 2017 13:48:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>     Also introduce a new variable 'electric-quote-code-faces'.  Major
>     modes such as 'markdown-mode' can add faces to this list to treat text
>     as inline code and disable electric quoting.
    
Hmm... FWIW I don't like using faces for that (e.g. it means the
features doesn't work when the user disables font-lock-mode, even in
cases where it's easy to decide what to do based on syntax-ppss for
example).
Why not use a electric-quote-inhibit-function hook instead?


        Stefan



reply via email to

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