zk-phi / phi-search

Another incremental search command, compatible with “multiple-cursors”
127 stars 12 forks source link

Correct eval-after-load usage #16

Closed Silex closed 11 years ago

Silex commented 11 years ago

Hello,

If you have a file named "multiple-cursors.el" and you load it, phi-search will trigger the eval-after-load block about mc/cursor-specific-vars and if multiple-cursors isn't loaded it creates an error about unknown variable.

The correct way to use eval-after-load is the symbol form, which waits until something provide this symbol.

zk-phi commented 11 years ago

merged. thanks for the report.