diff options
author | William Carroll <wpcarro@gmail.com> | 2019-12-22T20·57+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2019-12-24T15·21+0000 |
commit | 7adb77692752ab0225a5eeee14bde095596f7c04 (patch) | |
tree | 27880bc8242ce72352cf08264de311b6934b9b9d /configs/shared/.emacs.d/wpc | |
parent | f739534203439b584a60771f644f869ff55bc156 (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')
-rw-r--r-- | configs/shared/.emacs.d/wpc/packages/wpc-prolog.el | 16 |
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 |