[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: de-dynamicizing some code
From: |
Stefan Monnier |
Subject: |
Re: de-dynamicizing some code |
Date: |
Wed, 19 Nov 2014 22:57:29 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> I assume the proper solution is to replace this:
> (funcall formatfun record)
> with:
> (funcall formatfun record indent fmt)
> Is that correct?
There are various solutions, but this one looks like a very good
option, indeed.
The next best thing is to rename the variables to bbdb-fmt and
bbdb-indent (and to add "(defvar bbdb-indent) (defvar bbdb-fmt)"
somewhere at top-level (to tell the compiler that these vars should use
dynamic binding).
Stefan