diff options
| author | Stefan Monnier | 2017-07-14 00:32:34 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2017-08-07 18:54:49 -0400 |
| commit | cc30d77ecdd1b9155ade3d0656a84a0839ee2795 (patch) | |
| tree | a0b0c1180b8152284d10420d4189eb7cebdbc7d7 /src/coding.h | |
| parent | 00f7e31110a27e568529192d7441d9631b9096bc (diff) | |
| download | emacs-cc30d77ecdd1b9155ade3d0656a84a0839ee2795.tar.gz emacs-cc30d77ecdd1b9155ade3d0656a84a0839ee2795.zip | |
Let `define-symbol-prop' take effect during compilation
* src/fns.c (syms_of_fns): New variable `overriding-plist-environment'.
(Fget): Consult it.
* lisp/emacs-lisp/bytecomp.el (byte-compile-close-variables): Let-bind
it to nil.
(byte-compile-define-symbol-prop): New function, handles compilation
of top-level `define-symbol-prop' and `function-put' calls by putting
the symbol setting into `overriding-plist-environment'.
Co-authored-by: Noam Postavsky <npostavs@gmail.com>
Diffstat (limited to 'src/coding.h')
0 files changed, 0 insertions, 0 deletions