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:
parent
f739534203
commit
7adb776927
2 changed files with 21 additions and 0 deletions
|
@ -49,3 +49,8 @@
|
|||
(require 'wpc-python)
|
||||
(require 'wpc-javascript)
|
||||
(require 'wpc-java)
|
||||
(require 'wpc-prolog)
|
||||
|
||||
|
||||
(provide 'init)
|
||||
;;; init.el ends here
|
||||
|
|
16
configs/shared/.emacs.d/wpc/packages/wpc-prolog.el
Normal file
16
configs/shared/.emacs.d/wpc/packages/wpc-prolog.el
Normal 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
|
Loading…
Reference in a new issue