[patch] another fix for find-definition in the REPL buffer