DogLooksGood / parinfer-mode

Parinfer for Emacs :)
GNU General Public License v3.0
407 stars 33 forks source link

Install by package from melpa: Symbol's function definition is void: font-lock-flush #30

Closed zhcosin closed 7 years ago

zhcosin commented 7 years ago

The error has occur when I install parinfer from melpa by packages manager, The message buffer show the following message: parinfer-ext::pretty-parens:paren: Symbol's function definition is void: font-lock-flush And my Emacs is 25.

DogLooksGood commented 7 years ago

For quick fix:

(defun font-lock-flush ()
  (if (fboundp 'font-lock-flush)
      (font-lock-flush)
    (when font-lock-mode
      (with-no-warnings
        (font-lock-fontify-buffer))))))

This will be fixed in the next version. Leave this open until the bug is fixed.

DogLooksGood commented 7 years ago

@zhcosin this bug is fixed, please check.