Make `code-X-is-set' easier to use.