Skip to content

Commit

Permalink
Make dtrt-indent-try-set-offset interactive (fix #86)
Browse files Browse the repository at this point in the history
  • Loading branch information
rrthomas committed Jan 25, 2025
1 parent a8aa356 commit 1d2bd4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dtrt-indent.el
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,7 @@ merged with offset %s (%.2f%% deviation, limit %.2f%%)"

(defun dtrt-indent-try-set-offset ()
"Try adjusting the current buffer's indentation offset."
(interactive)
(let ((language-and-variable (cdr (dtrt-indent--search-hook-mapping major-mode))))
(when language-and-variable
(let* ((result
Expand Down

0 comments on commit 1d2bd4a

Please sign in to comment.