Function: dtrt-indent-highlight
dtrt-indent-highlight is an autoloaded, interactive and natively
compiled function defined in dtrt-indent-diag.el.
Signature
(dtrt-indent-highlight)
Documentation
Highlight non-excluded indentation in the current buffer.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/xl774j723v677bsfsybzln3vi6w0fpm3-emacs-packages-deps/share/emacs/site-lisp/elpa/dtrt-indent-20260709.2011/dtrt-indent-diag.el
(defun dtrt-indent-highlight ()
"Highlight non-excluded indentation in the current buffer."
(interactive)
(let ((language-and-variable
(cdr (dtrt-indent--search-hook-mapping major-mode))))
(if (null language-and-variable)
(message "Major mode %s not supported by dtrt-indent" major-mode)
(save-buffer-state nil
(dtrt-indent--for-each-indentation
(car language-and-variable)
(lambda (histogram)
(put-text-property (save-excursion (beginning-of-line) (point))
(point)
'face '(background-color . "red"))
t)
nil)))))