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.
This commit is contained in:
William Carroll 2019-12-22 20:57:01 +00:00
parent f739534203
commit 7adb776927
2 changed files with 21 additions and 0 deletions

View file

@ -49,3 +49,8 @@
(require 'wpc-python)
(require 'wpc-javascript)
(require 'wpc-java)
(require 'wpc-prolog)
(provide 'init)
;;; init.el ends here

View file

@ -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