From 5fa77f6ef44ef741328197c99305695dacd3eb49 Mon Sep 17 00:00:00 2001
From: Mattias Andrée <maandree@operamail.com>
Date: Thu, 11 Apr 2013 01:52:32 +0200
Subject: more packages
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mattias Andrée <maandree@operamail.com>
---
 .../emacs-prolog-mode.install                         | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 emacs-prolog-mode (not maintaining)/emacs-prolog-mode.install

(limited to 'emacs-prolog-mode (not maintaining)/emacs-prolog-mode.install')

diff --git a/emacs-prolog-mode (not maintaining)/emacs-prolog-mode.install b/emacs-prolog-mode (not maintaining)/emacs-prolog-mode.install
new file mode 100644
index 0000000..450b39e
--- /dev/null
+++ b/emacs-prolog-mode (not maintaining)/emacs-prolog-mode.install	
@@ -0,0 +1,19 @@
+post_install () {
+    cat << __EOF__
+
+==> Insert into your ~/.emacs or ~/.xemacs/init.el the following lines:
+    
+(autoload 'run-prolog "prolog" "Start a Prolog sub-process." t)
+(autoload 'prolog-mode "prolog" "Major mode for editing Prolog programs." t)
+(autoload 'mercury-mode "prolog" "Major mode for editing Mercury programs." t)
+(setq prolog-system 'swi)
+(setq auto-mode-alist (append '(("\\.pl$" . prolog-mode)
+                                ("\\.m$" . mercury-mode))
+                               auto-mode-alist))
+
+__EOF__
+}
+
+post_upgrade () {
+    post_install
+}
-- 
cgit v1.2.3-70-g09d2