You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All it does is expanding the path when I'm in Windows and using subst (more about it here), but when i have projectile-mode enabled in compilation directory, this advice is not being called. I'm a newbie on advising functions, but it looks like the way projectile does it's own advising breaks the other advices for this function. I've also read on Emacs Lisp Reference is obsolete. Could this error be related to some compatibility issues between defadvice and advice-add?
The text was updated successfully, but these errors were encountered:
caioaao
changed the title
Projectile is clearing other advices for compile-find-file
Projectile is clearing other advices for compilation-find-file
Sep 28, 2015
I was under the impression you can have multiple advices for the same command. advice-add was added just recently and we can't leverage it in Projectile just yet.
You can, but since the projectile advices apparently overrides the find-file / compilation-find-file implementations (sometimes it doesn't call ad-do-it), the other advices may have no effect.
I've tested it with defadvice to make sure it wasn't a compatibility issue, and it also didn't work.
I have the following advice for the compilation-find-file:
All it does is expanding the path when I'm in Windows and using subst (more about it here), but when i have
projectile-mode
enabled in compilation directory, this advice is not being called. I'm a newbie on advising functions, but it looks like the way projectile does it's own advising breaks the other advices for this function. I've also read on Emacs Lisp Reference is obsolete. Could this error be related to some compatibility issues betweendefadvice
andadvice-add
?The text was updated successfully, but these errors were encountered: