add a function to search with the language prefix derived by major-mode