[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:20:38 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> Fsetq(Qfontification_functions,Qt)
BTW, one notable difference (other than performance) between
Fset (Qfontification_functions, Qt);
and
Vfontification_functions = Qt;
is that the former will obey make-variable-buffer-local while the
latter won't. So if you want the var to be buffer-local, either use the
former, or make sure to call Fmake_local_variable explicitly at
some point.
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, 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, Phillip Lord, 2015/09/15