2021-01-27 22:49:20 +00:00
|
|
|
;;; ElispCube --- The elisp cube for FG42 -*- lexical-binding: t; -*-
|
2020-04-16 18:17:36 +01:00
|
|
|
;;
|
2021-01-29 02:02:14 +00:00
|
|
|
;; Copyright (c) 2010-2021 Sameer Rahmani & Contributors
|
2020-04-16 18:17:36 +01:00
|
|
|
;;
|
|
|
|
;; Author: Sameer Rahmani <lxsameer@gnu.org>
|
|
|
|
;; URL: https://gitlab.com/FG42/FG42
|
|
|
|
;; Version: 3.0.0
|
|
|
|
;;
|
|
|
|
;; 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 of the License, 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 this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
;;
|
|
|
|
;;; Commentary:
|
2021-01-27 22:49:20 +00:00
|
|
|
;; Cubes are the building blocks of any `FG42' editor. Each `cube' is a
|
|
|
|
;; unit which defines different abilities in a deterministic and idempotent
|
|
|
|
;; way. Cubes are composable and a composition of cubes creates an editor.
|
|
|
|
;;
|
2020-04-16 18:17:36 +01:00
|
|
|
;;; Code:
|
2021-01-27 22:49:20 +00:00
|
|
|
(require 'fg42/cube)
|
|
|
|
|
2020-04-16 18:17:36 +01:00
|
|
|
|
2021-02-03 20:50:17 +00:00
|
|
|
(autoload 'fg42/elisp-hook-handler "cubes/elisp/core")
|
|
|
|
|
|
|
|
(package-as-cube paredit)
|
|
|
|
|
|
|
|
|
2021-01-29 00:16:46 +00:00
|
|
|
(defcube fg42/elisp-cube ()
|
2021-02-03 20:50:17 +00:00
|
|
|
:requires '(paredit)
|
2021-02-02 19:21:59 +00:00
|
|
|
;;:modes '((emacs-lisp-mode . f42/elisp-cube-after-load))
|
2021-02-03 20:50:17 +00:00
|
|
|
:hooks '((emacs-lisp-mode-hook . fg42/elisp-hook-handler))
|
2021-01-30 18:52:04 +00:00
|
|
|
;;:auto-modes (list (lambda (system) '("\\.el\\'" . fg42/elisp-cube-mmm)))
|
2021-02-03 18:40:38 +00:00
|
|
|
;;:init #'iii
|
2021-01-29 17:59:16 +00:00
|
|
|
:dependencies '((:name rainbow-delimiters :version :latest)))
|
|
|
|
|
2020-04-16 18:17:36 +01:00
|
|
|
|
2021-01-27 22:49:20 +00:00
|
|
|
(provide 'cubes/elisp)
|
|
|
|
;;; elisp.el ends here
|