Effective January 1, 2004, California bill AB846 bans smoking within 20 feet ( m) of the entrance or operable window of a public building ("public building" means a building owned and occupied, or leased and occupied, by the state, a county, a city, a city and county, or a California Community College district.) The law also prohibits smoking in state owned vehicles.   Additionally, effective January 1, 2008, smoking in a moving vehicle while in the presence of a minor (18 years or younger) is an infraction ; the charge is not serious enough to be pulled over, and only can be cited along with a stricter offense, such as a moving violation or traffic accident.  Local jurisdictions may regulate smoking more strictly than the state. Many California communities have established smoke-free registries for private residential apartment buildings, which range from complexes where smoking is entirely prohibited (whether inside private dwellings or outside) to those where certain sections of dwellings may be designated as smoking dwellings. Most California cities allow landlords to regulate smoking at will.
The act contains several references to "derivatives" of compounds but the extent of this term is not fully clarified. Where unspecified it is thought to indicate derivatives which can be made from the specified compound in a single synthetic step, although such a definition would indicate that alkyllysergamide analogues would be uncontrolled. Where the derivatives are specified to be "structural derivatives" there is precedent that the statute applies whenever the structure could be converted to the specified derivatives in any number of synthetic steps.