[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: |
Stefan Monnier |
Subject: |
Re: RFM: How to make a buffer-local var in C layer |
Date: |
Tue, 15 Sep 2015 10:18:09 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> What is the difference between Vfontification_functions and
> Qfontification_functions?
Both are C variables of type Lisp_Object.
The "V" one contains the value of the variable
`fontification-functions', while the Q one contains the symbol
`fontification-functions'.
> How do I set the buffer local value? Something like:
> Fsetq(Qfontification_functions,Qt)
You could (tho calling Fset rather than Fsetq), but you can do it much
more simply/cheaply with:
Vfontification_functions = Qt;
-- Stefan
- 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, 2015/09/15
- Re: RFM: How to make a buffer-local var in C layer,
Stefan Monnier <=
- 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