From: Alex Date: Fri, 7 Feb 2025 09:52:14 +0000 (+0100) Subject: Set .pl to use prolog-mode X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=f3291cff81fa85a48a217f27378487fc3495fa26;p=alex.git Set .pl to use prolog-mode --- diff --git a/emacs/emacs.el b/emacs/emacs.el index 3c29b49..0e6713f 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -150,3 +150,8 @@ (use-package ledger-mode :ensure t) + +;; Sometimes I like playing with Prolog +(setq prolog-system 'swi) +(setq auto-mode-alist (append '(("\\.pl\\'" . prolog-mode)) + auto-mode-alist))