emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ruby-end 5f9a9721a5 02/91: Added skeleton.


From: ELPA Syncer
Subject: [elpa] externals/ruby-end 5f9a9721a5 02/91: Added skeleton.
Date: Wed, 25 Jan 2023 19:58:23 -0500 (EST)

branch: externals/ruby-end
commit 5f9a9721a5648251a368eea26fb813ca1dc88382
Author: Johan Andersson <johan.rejeep@gmail.com>
Commit: Johan Andersson <johan.rejeep@gmail.com>

    Added skeleton.
---
 ruby-end.el | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/ruby-end.el b/ruby-end.el
new file mode 100644
index 0000000000..e0f5339224
--- /dev/null
+++ b/ruby-end.el
@@ -0,0 +1,52 @@
+;;; ruby-end.el --- Automatic insertion of end for blocks
+
+;; Copyright (C) 2010 Johan Andersson
+
+;; Author: Johan Andersson <johan.rejeep@gmail.com>
+;; Maintainer: Johan Andersson <johan.rejeep@gmail.com>
+;; Version: 0.0.1
+;; Keywords: speed, convenience
+;; URL: http://github.com/rejeep/ruby-end
+
+;; This file is NOT part of GNU Emacs.
+
+
+;;; License:
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs; see the file COPYING.  If not, write to the
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
+
+
+;;; Commentary:
+
+;;; Code:
+
+(defvar ruby-end-mode-map (make-sparse-keymap)
+  "Keymap for `ruby-end-mode'.")
+
+
+;;;###autoload
+(define-minor-mode ruby-end-mode
+  "Automatic insertion of end for blocks"
+  :init-value nil
+  :lighter " end"
+  :keymap ruby-end-mode-map
+  (when ruby-end-mode
+
+    ))
+
+(provide 'ruby-end)
+
+;;; ruby-end.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]