Teemu Likonen [2016-02-07 12:10:55+02] wrote: > Are there established practices for writing a compatibility code in > situations like this? Perhaps calling a custom function > wcheck--fontify-region and having code like below? There are some "alias wrappers" like below in Emacs code so maybe I'll use similar with wcheck-mode. (eval-when-compile (defalias 'wcheck--fontify-region (if (fboundp 'font-lock-ensure) 'font-lock-ensure 'font-lock-fontify-region)))