forked from FG42/FG42
1
0
Fork 0

devtools library has been added

This commit is contained in:
Sameer Rahmani 2019-08-21 15:38:13 +01:00
parent ab8a3499d6
commit fd24dc2fd0
5 changed files with 31 additions and 18 deletions

View File

@ -11,6 +11,7 @@
(depends-on 'smart-mode-line) (depends-on 'smart-mode-line)
(depends-on 'dockerfile-mode) (depends-on 'dockerfile-mode)
(depends-on 'quickrun) (depends-on 'quickrun)
(depends-on 'dash)
(with-ability parinfer (with-ability parinfer
(depends-on 'parinfer)) (depends-on 'parinfer))

View File

@ -0,0 +1,11 @@
;;; lxgithub.el --- Github integration library for FG42
;;; Commentary:
;;; Code:
(require 'gh)
;; Functions -------------------------------------------------
(gh-issues-api "api")
(provide 'lxgithub)
;;; lxgithub.el ends here

View File

@ -359,16 +359,16 @@
(decode-char 'ucs #x00A0)) (decode-char 'ucs #x00A0))
"Vazir") "Vazir")
;; Backup files --------------------------------------------- ;; Backup files ---------------------------------------------
;; Put them in one nice place if possible (ability backup-files ()
(if (file-directory-p "~/.backup") ;; Put them in one nice place if possible
(setq backup-directory-alist '(("." . "~/.backup"))) (if (file-directory-p "~/.backup")
(make-directory "~/.backup")) (setq backup-directory-alist '(("~/.backup")))
(make-directory "~/.backup"))
(setq backup-by-copying t) ; Don't delink hardlinks (setq backup-by-copying t)
delete-old-versions t ; Clean up the backups (setq delete-old-versions t)
version-control t ; Use version numbers on backups, (setq version-control t)
kept-new-versions 3 ; keep some new versions (setq kept-new-versions 3)
kept-old-versions 2 ; and some old ones, too (setq kept-old-versions 2))
;; get rid of yes-or-no questions - y or n is enough ;; get rid of yes-or-no questions - y or n is enough
(defalias 'yes-or-no-p 'y-or-n-p) (defalias 'yes-or-no-p 'y-or-n-p)

View File

@ -25,7 +25,7 @@
;;; Code: ;;; Code:
(defvar fg42-home (getenv "FG42_HOME") (defvar fg42-home (getenv "FG42_HOME")
"The pass to fg42-home") "The pass to fg42-home.")
(defvar fg42-before-initialize-hook nil (defvar fg42-before-initialize-hook nil
"This hook will be called before FG42 initilization process.") "This hook will be called before FG42 initilization process.")
@ -48,3 +48,4 @@
(run-hooks 'fg42-after-initialize-hook)) (run-hooks 'fg42-after-initialize-hook))
(provide 'fg42) (provide 'fg42)
;; fg42.el ends here

View File

@ -1,28 +1,28 @@
;;; fpkg --- a simple package manager for FG42 -*- lexical-binding: t; -*- ;;; fpkg --- a simple package manager for FG42 -*- lexical-binding: t; -*-
;; Copyright (C) 2015 lxsameer ;; Copyright (C) 2010-2019 Sameer Rahmani <lxsameer@gnu.org>
;; Author: Sameer Rahmani <lxsameer@gnu.org> ;; Author: Sameer Rahmani <lxsameer@gnu.org>
;; Keywords: lisp fg42 IDE package manager ;; Keywords: lisp fg42 IDE package manager
;; Version: 1.0.0 ;; Version: 1.0.0
;;
;; This program is free software; you can redistribute it and/or modify ;; 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 ;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or ;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version. ;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful, ;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details. ;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License ;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>. ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;
;;; Commentary: ;;; Commentary:
;;
;; Simple package manager for FG42 ;; Simple package manager for FG42
;;
;;; Code: ;;; Code:
(require 'cl-lib) (require 'cl-lib)
(require 'subr-x) (require 'subr-x)