From: Youhei SASAKI <uwabami@gfd-dennou.org>
Date: Mon, 20 Aug 2018 00:12:31 +0900
Subject: Update for emacs packages.el
Forwarded: not-needed

Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
---
 misc/emacs/rabbit-mode.el | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

--- a/misc/emacs/rabbit-mode.el
+++ b/misc/emacs/rabbit-mode.el
@@ -1,10 +1,17 @@
-;;; -*- mode: Emacs-Lisp; indent-tabs-mode: nil -*-
-;;; rabbit-mode.el
-;;  Emacs major mode for Rabbit
-;;; Copyright (c) 2006-2008 Atsushi TAKEDA <tkdats@kono.cis.iwate-u.ac.jp>
-;;; Copyright (c) 2009-2019 Kouhei Sutou <kou@cozmixng.org>
+;;; rabbit-mode.el --- Emacs major mode for Rabbit -*- mode: Emacs-Lisp; indent-tabs-mode: nil -*-
+;;;
+;; Author: 2006-2008 Atsushi TAKEDA <tkdats@kono.cis.iwate-u.ac.jp>
+;;         2009-2019 Kouhei Sutou <kou@cozmixng.org>
+;; Version: 3.0.0
+;; Package-Requires: nil
+;; Keywords: ruby, rabbit
+;; URL: https://github.com/rabbit-shocker/rabbit
+;;
 
 (require 'cl)
+(eval-when-compile
+  (add-to-list 'load-path
+               "/usr/share/emacs/site-lisp/rdtool-elisp"))
 (require 'rd-mode)
 
 (defvar rabbit-mode-hook nil
@@ -86,8 +93,12 @@
   (rabbit-setup-keys)
   (run-hooks 'rabbit-mode-hook))
 
-;;; interactive
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.rab\\'" . rabbit-mode))
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.rbt\\'" . rabbit-mode))
 
+;;; interactive
 (defun rabbit-run-rabbit ()
   "Emacs major mode for rabbit."
   (interactive)
@@ -376,3 +387,4 @@
       (beginning-of-buffer)))
 
 (provide 'rabbit-mode)
+;;; rabbit-mode.el ends here
