adapt to syntax-table changes in Emacs 24.4