Hi, This patch should fix the following error when there is no function defined at point. Error during redisplay: (eval (replace-regexp-in-string "%" "%%" (gethash (selected-window) which-func-table which-func-unknown))) signaled (wrong-type-argument arrayp nil) I get this error at point in python file when there is no function defined before the cursor. Takafumi