Snip text from buffer if which-defun fails.