Skip to content

Commit

Permalink
[fu] init-util.t - remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pkryger committed Nov 20, 2024
1 parent 46cfa31 commit 776b532
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/init-util.t.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 776b532

Please sign in to comment.