Skip to content

Commit

Permalink
Turn off indent-tabs-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffkreeftmeijer committed May 3, 2024
1 parent 1355183 commit 862daec
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
4 changes: 4 additions & 0 deletions default.el
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@ end tell"))
:init
(pixel-scroll-precision-mode 1))

(use-package simple
:init
(indent-tabs-mode 0))

(write-region
(format "%s,%s\n"
(string-trim (shell-command-to-string "git --git-dir ~/emacs-config/.git rev-parse HEAD"))
Expand Down
21 changes: 21 additions & 0 deletions emacs-configuration.org
Original file line number Diff line number Diff line change
Expand Up @@ -1712,6 +1712,27 @@ Project-x should be obsolete for this purpose, but I haven't figured it out yet.
<<pixel-scroll-init>>)
#+end_src

** Indentation

Don't use tabs for indentation.

#+headers: :noweb-ref simple-init
#+begin_src emacs-lisp
(indent-tabs-mode 0)
#+end_src

#+RESULTS:
: t

#+headers: :exports none
#+headers: :noweb yes
#+headers: :tangle default.el
#+begin_src emacs-lisp
(use-package simple
:init
<<simple-init>>)
#+end_src

* Benchmarking

Use [[https://github.com/dholm/benchmark-init-el][benchmark-init]] to benchmark Emacs' initialization.
Expand Down

0 comments on commit 862daec

Please sign in to comment.