about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/packages
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-12-22T20·57+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-12-24T15·21+0000
commit7adb77692752ab0225a5eeee14bde095596f7c04 (patch)
tree27880bc8242ce72352cf08264de311b6934b9b9d /configs/shared/.emacs.d/wpc/packages
parentf739534203439b584a60771f644f869ff55bc156 (diff)
Support Prolog
Register the .pl file extension with `prolog-mode'. This is useful because I'm
reading the "Learn Prolog Now!" book at the moment.
Diffstat (limited to 'configs/shared/.emacs.d/wpc/packages')
-rw-r--r--configs/shared/.emacs.d/wpc/packages/wpc-prolog.el16
1 files changed, 16 insertions, 0 deletions
diff --git a/configs/shared/.emacs.d/wpc/packages/wpc-prolog.el b/configs/shared/.emacs.d/wpc/packages/wpc-prolog.el
new file mode 100644
index 000000000000..94e705b1b114
--- /dev/null
+++ b/configs/shared/.emacs.d/wpc/packages/wpc-prolog.el
@@ -0,0 +1,16 @@
+;;; wpc-prolog.el --- For Prologging things -*- lexical-binding: t -*-
+;; Author: William Carroll <wpcarro@gmail.com>
+
+;;; Commentary:
+;; Code configuring my Prolog work.
+
+;;; Code:
+
+(require 'macros)
+
+;; TODO: Notice that the .pl extension conflicts with Perl files. This may
+;; become a problem should I start working with Perl.
+(macros/support-file-extension "pl" prolog-mode)
+
+(provide 'wpc-prolog)
+;;; wpc-prolog.el ends here