|
From: | Andreas Schwab |
Subject: | Re: In C code, how do I create and access a (lisp) variable? |
Date: | Thu, 05 Nov 2015 00:39:36 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Aurélien Aptel <address@hidden> writes: > I think you're supposed to use DEFVAR_PER_BUFFER for definition and > BVAR for access. DEFVAR_PER_BUFFER and BVAR are only for variables that are part of struct buffer. An ordinary variable can be made buffer-local even if not part of struct buffer. Andreas. -- Andreas Schwab, address@hidden GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
[Prev in Thread] | Current Thread | [Next in Thread] |