2015-07-07 10:42:08 +01:00
|
|
|
;;; FG42 --- a simple package manager for FG42 -*- lexical-binding: t; -*-
|
|
|
|
|
2018-03-03 23:46:10 +00:00
|
|
|
;; Copyright (C) 2010-2018 lxsameer
|
2015-07-07 10:42:08 +01:00
|
|
|
|
2015-07-07 13:10:57 +01:00
|
|
|
;; Author: Sameer Rahmani <lxsameer@gnu.org>
|
2015-07-07 10:42:08 +01:00
|
|
|
;; Keywords: lisp fg42 IDE package manager
|
2015-07-07 13:10:57 +01:00
|
|
|
;; Version: 2.31
|
2015-07-07 10:42:08 +01:00
|
|
|
|
|
|
|
;; 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:
|
|
|
|
|
|
|
|
;; An Editor/IDE bundle base on Lovely Gnu/Emacs to make your life easier
|
|
|
|
|
|
|
|
;;; Code:
|
2015-07-09 13:07:35 +01:00
|
|
|
(defvar fg42-home (getenv "FG42_HOME")
|
2019-08-21 15:38:13 +01:00
|
|
|
"The pass to fg42-home.")
|
2015-07-09 13:07:35 +01:00
|
|
|
|
2016-11-28 11:06:35 +00:00
|
|
|
(defvar fg42-before-initialize-hook nil
|
|
|
|
"This hook will be called before FG42 initilization process.")
|
|
|
|
|
|
|
|
(defvar fg42-after-initialize-hook nil
|
|
|
|
"This hook will be called after FG42 initilization process.")
|
|
|
|
|
2018-03-03 23:46:10 +00:00
|
|
|
|
|
|
|
(require 'fpkg)
|
|
|
|
(require 'fg42/base)
|
|
|
|
(require 'fg42/splash)
|
|
|
|
(require 'fg42/race)
|
2019-11-09 17:07:58 +00:00
|
|
|
(require 'fg42/utils)
|
2018-03-03 23:46:10 +00:00
|
|
|
|
2015-07-07 12:25:06 +01:00
|
|
|
(defun fg42-initialize ()
|
|
|
|
"Initialize FG42 editor."
|
2016-11-28 11:06:35 +00:00
|
|
|
(run-hooks 'fg42-before-initialize-hook)
|
2015-07-11 12:01:46 +01:00
|
|
|
(setq package-user-dir (concat fg42-home "/packages"))
|
2015-07-07 12:25:06 +01:00
|
|
|
(fpkg-initialize)
|
2016-11-28 11:06:35 +00:00
|
|
|
(initialize-extensions)
|
|
|
|
(run-hooks 'fg42-after-initialize-hook))
|
2015-07-07 12:25:06 +01:00
|
|
|
|
2015-07-07 10:42:08 +01:00
|
|
|
(provide 'fg42)
|
2019-08-21 15:38:13 +01:00
|
|
|
;; fg42.el ends here
|