Skip to content

Commit

Permalink
Simplify tab space check
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Apr 29, 2023
1 parent b77e2ab commit 28743d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jcs-echobar.el
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@

(defun jcs-echobar--buffer-spaces-or-tabs ()
"Check if buffer using spaces or tabs."
(if (= (how-many "^\t" (point-min) (point-max)) 0) "SPC" "TAB"))
(if indent-tabs-mode "TAB" "SPC"))

;;
;; (@* "Core" )
Expand Down

0 comments on commit 28743d8

Please sign in to comment.