[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 51e7e46: Font-lock elisp macros/special forms d
From: |
Tassilo Horn |
Subject: |
Re: [Emacs-diffs] master 51e7e46: Font-lock elisp macros/special forms dynamically |
Date: |
Mon, 16 Mar 2015 07:40:13 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Artur Malabarba <address@hidden> writes:
>> + (unless lisp--el-macro-regexp
>> + (lisp--el-update-macro-regexp))
>> + (add-hook 'after-load-functions #'lisp--el-update-after-load)
>
> Maybe I'm reading this wrong, but is this being automatically added to
> `after-load-functions'?
Yes.
> If so, I request we don't do that by default. I haven't tested it yet,
> but I'm sure mapping over all atoms and flushing all elisp buffers is
> bound to cause noticeable delays whenever a file is loaded.
It only flushes elisp buffers in case the regexp actually changed. So
if a file got loaded which doesn't define any new macros, no
re-fontification will happen.
Bye,
Tassilo
Re: [Emacs-diffs] master 51e7e46: Font-lock elisp macros/special forms dynamically, Tassilo Horn, 2015/03/16
Re: [Emacs-diffs] master 51e7e46: Font-lock elisp macros/special forms dynamically, Artur Malabarba, 2015/03/15
- Re: [Emacs-diffs] master 51e7e46: Font-lock elisp macros/special forms dynamically,
Tassilo Horn <=