replace huge kill-buffer advice with hook in the kill-buffer-query-functions