If it does not work on non-X builds we will fall back to the ergodis method based on adding a font-lock class