diff --git a/modules/init-util.t.el b/modules/init-util.t.el index b587f718..a8db790b 100644 --- a/modules/init-util.t.el +++ b/modules/init-util.t.el @@ -53,8 +53,10 @@ Return the BODY return value" (with-temp-buffer ;; Use `python-mode' for it richness of supported string formats. (when (numberp point-or-region) - (let (python-mode-hook - python-indent-guess-indent-offset-verbose) + (let ((python-mode-hook nil) + (python-indent-guess-indent-offset-verbose nil)) + (ignore python-mode-hook + python-indent-guess-indent-offset-verbose) (python-mode))) (insert input) (cond