emacs-php / php-mode

A powerful and flexible Emacs major mode for editing PHP scripts
GNU General Public License v3.0
583 stars 118 forks source link

emacs master results in error #764

Closed hexmode closed 10 months ago

hexmode commented 1 year ago

⛔ Error (use-package): php-mode/:catch: Eager macro-expansion failure: (void-variable flymake-allowed-file-name-masks)

claytonrcarter commented 11 months ago

I just ran into this myself, in Doom. At first, I was able to work around by adding (setq flymake-allowed-file-name-masks '()) to my config before I loaded any php files, but then it looks like it may already be fixed on master via #765. Indeed, evaling (require 'flymake-proc) before loading any PHP files also seems to work. I don't know if that's a "proper" fix, or just a coincidence, but it's now working for me. 😄

zonuexe commented 10 months ago

@hexmode @claytonrcarter Thanks for reporting, the problem has been fixed.