diff options
| author | Philipp Stephani | 2017-07-03 18:46:10 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2017-07-03 20:59:31 +0200 |
| commit | 4cd0db3d6e6e4d5bd49283483bdafbbfc0f583f1 (patch) | |
| tree | 4363283d8e790be49490ce2123f32db811e083f9 /src/bytecode.c | |
| parent | 9ac7dccc51ee834b06cdabf6a5746eb375f984f0 (diff) | |
| download | emacs-4cd0db3d6e6e4d5bd49283483bdafbbfc0f583f1.tar.gz emacs-4cd0db3d6e6e4d5bd49283483bdafbbfc0f583f1.zip | |
Use hook instead of face list to inhibit electric quoting
This is more flexible and doesn't couple electric quoting to font
locking.
Give that 'electric-quote-code-faces' was just introduced, remove it
without formal deprecation.
* lisp/electric.el (electric-quote-inhibit-functions): New abnormal
hook variable.
(electric-quote-post-self-insert-function): Run the hook. Remove
use of old 'electric-quote-code-faces' variable.
* test/lisp/electric-tests.el (electric-quote-markdown-in-text)
(electric-quote-markdown-in-code): Adapt unit tests.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions