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
  • Loading branch information
jtbx committed Aug 11, 2024
1 parent 2884bc5 commit b1f1824
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions catppuccin-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -1493,6 +1493,7 @@ or `mocha'."

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

;;; catppuccin-theme.el ends here
5 changes: 1 addition & 4 deletions scripts/check-lisp-files.el
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
(files (.el-files-in root-path))
(scripts (.el-files-in (concat root-path "/scripts/"))))
(dolist (file (append files scripts))
(setq
byte-compile-error-on-warn t
indent-tabs-mode nil
lisp-indent-offset 2)
(setq byte-compile-error-on-warn t)
(unless (byte-compile-file file)
(error "byte-compile-file failed (%s)" file))
(with-current-buffer (find-file-noselect file)
Expand Down

0 comments on commit b1f1824

Please sign in to comment.