Skip to content

Commit

Permalink
refactor: move lisp-indent-offset to a file-local variable
Browse files Browse the repository at this point in the history
The setq expression is kept there to indent scripts and test files
properly as well.
  • Loading branch information
jtbx committed Aug 11, 2024
1 parent bc7be71 commit c7d84c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions catppuccin-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -1498,6 +1498,7 @@ or `mocha'."

;; Local Variables:
;; indent-tabs-mode: nil
;; lisp-indent-offset: 2
;; End:

;;; catppuccin-theme.el ends here
1 change: 0 additions & 1 deletion scripts/check-lisp-files.el
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
(dolist (file (append files scripts))
(setq
byte-compile-error-on-warn t
indent-tabs-mode nil
lisp-indent-offset 2)
(unless (byte-compile-file file)
(error "byte-compile-file failed (%s)" file))
Expand Down

0 comments on commit c7d84c9

Please sign in to comment.