Skip to content

Commit 759c4fb

Browse files
committed
feat: ensure org-mode is using tab-width 2
1 parent 7accdb8 commit 759c4fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

init.org

+4
Original file line numberDiff line numberDiff line change
@@ -2603,6 +2603,7 @@ Improve readability of escape characters in regular expressions.
26032603
(autoload 'org-get-outline-path "org-refile" nil t)
26042604
:hook
26052605
(org-mode-hook . auto-fill-mode)
2606+
(org-mode-hook . org-mode-init)
26062607
:bind
26072608
(("C-c a" . org-agenda)
26082609
(:map org-mode-map
@@ -2633,6 +2634,9 @@ Improve readability of escape characters in regular expressions.
26332634

26342635
(setq org-imenu-depth 3)
26352636
:config
2637+
(defun org-mode-init ()
2638+
(setq tab-width 2))
2639+
26362640
(dolist (lang '("emacs-lisp" "elisp"))
26372641
(cl-pushnew (cons lang 'lisp-interaction) org-src-lang-modes :test #'equal)))
26382642

0 commit comments

Comments
 (0)