doom-emacs/lisp
Henrik Lissner 9a56a6feee
fix: exclude indent detection in derived modes
Changes what major modes we exclude from dtrt-indent's auto-detection.
Any mode in doom-detect-indentation-excluded-modes, plus derived modes,
will be excluded instead of only the parent modes.

This indirectly fixes an issue where org-mode derivatives (like
org-journal-mode) have their tab-width changed (#7670), causing the
`org-current-text-column` macro to throw the following error:

  Tab width in Org files must be 8, not N.  Please adjust your
  `tab-width' settings for Org mode.

I opted for this solution instead rather than adding all possibly
derivatives to `doom-detect-indentation-excluded-modes`.

Fix: #7670
Ref: 38dd882685/lisp/org-macs.el (L1154)
2024-05-21 17:16:45 +02:00
..
cli fix(cli): ensure $EMACSDIR/lisp/cli is in $DOOMPATH 2024-05-21 17:16:43 +02:00
lib fix(lib): doom/sudo-find-file: expand given path 2024-05-21 17:16:44 +02:00
demos.org refactor(emacs-lisp): elisp-demos: reorganize Doom demos 2024-05-21 17:16:37 +02:00
doom-cli.el fix(cli): ensure $EMACSDIR/lisp/cli is in $DOOMPATH 2024-05-21 17:16:43 +02:00
doom-editor.el fix: exclude indent detection in derived modes 2024-05-21 17:16:45 +02:00
doom-keybinds.el refactor!: deprecate IS-* OS constants 2024-05-21 17:16:36 +02:00
doom-lib.el fix(lib): appease byte-compiler-sama 2024-05-21 17:16:31 +02:00
doom-modules.el fix: void-variable doom-modules-load-path error 2024-05-21 17:16:43 +02:00
doom-packages.el nit: general reformatting & minor comment revision 2024-05-21 17:15:54 +02:00
doom-profiles.el refactor: s/doom-modules-dirs/doom-module-load-path/ 2024-05-21 17:16:39 +02:00
doom-projects.el refactor!: deprecate IS-* OS constants 2024-05-21 17:16:36 +02:00
doom-start.el refactor!: deprecate IS-* OS constants 2024-05-21 17:16:36 +02:00
doom-ui.el fix: premature use of emoji fontset in <=28.1 2024-05-21 17:16:21 +02:00
doom.el nit: fix s/make/bake typo 2024-05-21 17:16:37 +02:00
init.el fix: add :depth field to modules 2022-09-24 18:46:21 +02:00
packages.el refactor: remove all-the-icons 2024-05-21 17:16:42 +02:00