aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex <alex.corcoles@veecle.io>2025-02-07 10:52:14 +0100
committeralexpdp7 <alex@corcoles.net>2025-02-07 10:54:01 +0100
commitf3291cff81fa85a48a217f27378487fc3495fa26 (patch)
tree2d624cde0f169776d576c287d26420f2f84faee2
parent654ea2517286e7e40398e0aea5b888894a829706 (diff)
Set .pl to use prolog-mode
-rw-r--r--emacs/emacs.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/emacs.el b/emacs/emacs.el
index 3c29b49b..0e6713f9 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))