From f3291cff81fa85a48a217f27378487fc3495fa26 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 7 Feb 2025 10:52:14 +0100 Subject: [PATCH] Set .pl to use prolog-mode --- emacs/emacs.el | 5 +++++ 1 file changed, 5 insertions(+) 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)) -- 2.47.3