From: Stefan Kangas Date: Fri, 13 Dec 2024 00:13:52 +0000 (+0100) Subject: Don't use obsolete mode delhpi-mode X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=84470ce1ef9087ab634772d7c23c17ab8c86260a;p=emacs.git Don't use obsolete mode delhpi-mode * lisp/files.el (auto-mode-alist): Prefer opascal-mode to obsolete delphi-mode. (cherry picked from commit 020128e9dc31fb3b06c39614b7eb20ddb5b3725a) --- diff --git a/lisp/files.el b/lisp/files.el index 5616f998ddc..2552a3e659e 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3032,7 +3032,7 @@ since only a single case-insensitive search through the alist is made." ("\\.for\\'" . fortran-mode) ("\\.p\\'" . pascal-mode) ("\\.pas\\'" . pascal-mode) - ("\\.\\(dpr\\|DPR\\)\\'" . delphi-mode) + ("\\.\\(dpr\\|DPR\\)\\'" . opascal-mode) ("\\.\\([pP]\\([Llm]\\|erl\\|od\\)\\|al\\)\\'" . perl-mode) ("Imakefile\\'" . makefile-imake-mode) ("Makeppfile\\(?:\\.mk\\)?\\'" . makefile-makepp-mode) ; Put this before .mk