Disable dtrt-indent in pascal-mode
Throws wrong-type-argument number-or-marker-p errors otherwise, because dtrt-indent--for-each-indentation calls dtrt-indent--skip-to-end-of-match with four nil arguments (presumably because there is no pascal entry in dtrt-indent-language-syntax-table) and there is no fall back to its default entry.
This commit is contained in:
parent
e1683dc763
commit
6cb5c381b8
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
;;; core-editor.el -*- lexical-binding: t; -*-
|
;;; core-editor.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(defvar doom-detect-indentation-excluded-modes '(fundamental-mode so-long-mode)
|
(defvar doom-detect-indentation-excluded-modes
|
||||||
|
'(fundamental-mode pascal-mode so-long-mode)
|
||||||
"A list of major modes in which indentation should be automatically
|
"A list of major modes in which indentation should be automatically
|
||||||
detected.")
|
detected.")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue