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 'dockerfile-mode)
(depends-on 'quickrun)
(depends-on 'dash)
(with-ability 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))
"Vazir")
;; Backup files ---------------------------------------------
;; Put them in one nice place if possible
(if (file-directory-p "~/.backup")
(setq backup-directory-alist '(("." . "~/.backup")))
(make-directory "~/.backup"))
(setq backup-by-copying t) ; Don't delink hardlinks
delete-old-versions t ; Clean up the backups
version-control t ; Use version numbers on backups,
kept-new-versions 3 ; keep some new versions
kept-old-versions 2 ; and some old ones, too
(ability backup-files ()
;; Put them in one nice place if possible
(if (file-directory-p "~/.backup")
(setq backup-directory-alist '(("~/.backup")))
(make-directory "~/.backup"))
(setq backup-by-copying t)
(setq delete-old-versions t)
(setq version-control t)
(setq kept-new-versions 3)
(setq kept-old-versions 2))
;; get rid of yes-or-no questions - y or n is enough
(defalias 'yes-or-no-p 'y-or-n-p)

View File

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

View File

@ -1,28 +1,28 @@
;;; 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>
;; Keywords: lisp fg42 IDE package manager
;; Version: 1.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:
;;
;; Simple package manager for FG42
;;
;;; Code:
(require 'cl-lib)
(require 'subr-x)