2020-04-14 20:09:47 +01:00
|
|
|
;;; FG42 --- The mighty editor for the emacsians -*- lexical-binding: t; -*-
|
|
|
|
;;
|
2021-01-29 02:02:14 +00:00
|
|
|
;; Copyright (c) 2010-2021 Sameer Rahmani <lxsameer@gnu.org>
|
2020-04-14 20:09:47 +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:
|
|
|
|
;;; Code:
|
2021-03-05 16:30:30 +00:00
|
|
|
(require 'fg42/core)
|
2021-01-29 00:16:46 +00:00
|
|
|
(require 'fg42/utils)
|
|
|
|
|
2020-04-14 20:09:47 +01:00
|
|
|
|
2021-03-06 18:40:57 +00:00
|
|
|
(defun fg42/before-initialize ()
|
|
|
|
"Initialize the package manager before rendering the window instance."
|
|
|
|
(require 'fpkg/core)
|
|
|
|
(fpkg/initialize))
|
|
|
|
|
|
|
|
|
2021-03-05 16:30:30 +00:00
|
|
|
(defun fg42/initialize ()
|
2021-03-06 18:40:57 +00:00
|
|
|
"Initialize FG42 after the Emacs window is rendered by loading the user init file."
|
2021-04-21 11:45:33 +01:00
|
|
|
(when (file-exists-p user-init-file)
|
|
|
|
(load user-init-file)))
|
2020-04-14 20:09:47 +01:00
|
|
|
|
|
|
|
|
|
|
|
(provide 'fg42)
|
|
|
|
;;; fg42.el ends here
|