|
From: | Stefan Monnier |
Subject: | Re: Emacs-24.5-1-universal.dmg for macosx dumps on first keystroke |
Date: | Mon, 29 Aug 2016 09:19:14 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> I've had a look about and am currently none the wiser. Is there a standard > way of handling this sort of thing in C code? Is it just a case of putting > some sort of SYMBOLP check in before the variable is used or should we > be able to handle a string instead of a symbol? Usually we use things like CHECK_SYMBOL (foo), but depending on the code signaling an error might not be a good option, in which case a SYMBOLP check is indeed the better way. When set via Custom the user should not be able to set the var to a string. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |