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:
Henrik Lissner 2021-02-25 18:16:30 -05:00
parent e1683dc763
commit 6cb5c381b8

View file

@ -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.")