+;; Default for Altium Delphi scripts (.pas) files -> linux mode.
+(add-to-list 'auto-mode-alist '("\\.pas$" . delphi-mode))
+
+;; Add the .mak suffix to the auto-mode-alist:
+(setq auto-mode-alist (cons '("\\.mak$" . makefile-mode) auto-mode-alist))
+
+;; Add the Makefile prefix to the auto-mode-alist:
+(add-to-list 'auto-mode-alist '("Makefile" . makefile-mode))
+