Permalink
Browse files

Advise ffap-file-at-point instead of ffap-guesser

As suggested in #112 (comment)
  • Loading branch information...
1 parent b1a53fb commit 57033592ea4edbac6ef473b5f99d1a94c73ea4a7 @DarwinAwardWinner DarwinAwardWinner committed Jan 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 starter-kit-misc.el
View
@@ -93,7 +93,7 @@
(defvar ffap-c-commment-regexp "^/\\*+"
"Matches an opening C-style comment, like \"/***\".")
-(defadvice ffap-guesser (after avoid-c-comments activate)
+(defadvice ffap-file-at-point (after avoid-c-comments activate)
"Don't return paths like \"/******\" unless they actually exist.
This fixes the bug where ido would try to suggest a C-style

0 comments on commit 5703359

Please sign in to comment.