Look at line 831 and line 834.
The OPTION_FLAG_SMILIES is always set.