doomemacs/lisp
Henrik Lissner 3986ee6c2b
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-02-14 02:42:30 -05:00
..
cli fix(cli): ensure $EMACSDIR/lisp/cli is in $DOOMPATH 2024-02-07 17:24:24 -05:00
lib fix(lib): doom/sudo-find-file: expand given path 2024-02-10 16:57:22 -05:00
demos.org refactor(emacs-lisp): elisp-demos: reorganize Doom demos 2024-02-04 17:54:29 -05:00
doom-cli.el fix(cli): ensure $EMACSDIR/lisp/cli is in $DOOMPATH 2024-02-07 17:24:24 -05:00
doom-editor.el fix: exclude indent detection in derived modes 2024-02-14 02:42:30 -05:00
doom-keybinds.el refactor!: deprecate IS-* OS constants 2024-02-04 17:54:29 -05:00
doom-lib.el fix(lib): appease byte-compiler-sama 2024-01-24 12:38:41 -05:00
doom-modules.el fix: void-variable doom-modules-load-path error 2024-02-06 23:59:30 -05:00
doom-packages.el nit: general reformatting & minor comment revision 2023-09-11 23:56:21 +02:00
doom-profiles.el refactor: s/doom-modules-dirs/doom-module-load-path/ 2024-02-05 17:21:20 -05:00
doom-projects.el refactor!: deprecate IS-* OS constants 2024-02-04 17:54:29 -05:00
doom-start.el refactor!: deprecate IS-* OS constants 2024-02-04 17:54:29 -05:00
doom-ui.el fix: premature use of emoji fontset in <=28.1 2023-11-23 18:17:52 -05:00
doom.el nit: fix s/make/bake typo 2024-02-04 17:59:31 -05: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-02-06 16:09:32 -05:00