[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFM: How to make a buffer-local var in C layer
From: |
Phillip Lord |
Subject: |
Re: RFM: How to make a buffer-local var in C layer |
Date: |
Tue, 15 Sep 2015 13:08:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> (defvar-local undo-buffer-undoably-changed nil
>> "Non-nil means that that the buffer has had a recent undo-able change.
>
> This macroexpands to defvar + make-variable-buffer-local.
>
> In C defvar turns into DEFVAR_LISP, and make-variable-buffer-local turns
> into Fmake_variable_buffer_local.
>
> fontification-functions is defined in the C code exactly that way.
Ah, perfect! Have that part working now. Next questions!
What is the difference between Vfontification_functions and
Qfontification_functions?
How do I set the buffer local value? Something like:
Fsetq(Qfontification_functions,Qt)
Phil
- Re: [Emacs-diffs] fix/no-undo-boundary-on-secondary-buffer-change e5ff575 2/2: Add a timer to ensure undo-boundaries in buffers., Phillip Lord, 2015/09/01
- Re: [Emacs-diffs] fix/no-undo-boundary-on-secondary-buffer-change e5ff575 2/2: Add a timer to ensure undo-boundaries in buffers., Stefan Monnier, 2015/09/01
- Re: [Emacs-diffs] fix/no-undo-boundary-on-secondary-buffer-change e5ff575 2/2: Add a timer to ensure undo-boundaries in buffers., Phillip Lord, 2015/09/01
- Re: [Emacs-diffs] fix/no-undo-boundary-on-secondary-buffer-change e5ff575 2/2: Add a timer to ensure undo-boundaries in buffers., Stefan Monnier, 2015/09/06
- RFM: How to make a buffer-local var in C layer, Phillip Lord, 2015/09/14
- Re: RFM: How to make a buffer-local var in C layer, Stefan Monnier, 2015/09/14
- Re: RFM: How to make a buffer-local var in C layer,
Phillip Lord <=
- Re: RFM: How to make a buffer-local var in C layer, Stefan Monnier, 2015/09/15
- Re: RFM: How to make a buffer-local var in C layer, Stefan Monnier, 2015/09/15
- Re: RFM: How to make a buffer-local var in C layer, Phillip Lord, 2015/09/15