Use straight.el instead of package.el to manage my packages

This commit is contained in:
Mateus Pinto Rodrigues
2019-10-14 18:14:09 -03:00
parent a713823504
commit 889003e3cb
5 changed files with 45 additions and 51 deletions

View File

@@ -1,9 +1,6 @@
;; Write custom set variables to different file
(setq custom-file "~/.emacs.d/elisp/custom.el")
;; Set my color theme
(load-theme 'zenburn t)
;; Set default encoding
(setq current-language-environment "UTF-8")
@@ -16,28 +13,19 @@
(show-paren-mode 1)
;; This is the binary name of my scheme implementation
(setq scheme-program-name "racket")
(setq scheme-program-name "guile")
;; C default style
(add-hook 'c-mode-hook
(lambda ()
(c-set-style "linux")))
;; Adding MELPA
(when (>= emacs-major-version 24)
(require 'package)
(add-to-list
'package-archives
'("melpa" . "http://melpa.org/packages/")
'("gnu" . "http://elpa.gnu.org/packages/")))
(put 'erase-buffer 'disabled nil)
;; remove trailing white spaces before saving
(add-hook 'before-save-hook 'delete-trailing-whitespace)
;; disable bars
;; disable bars by default
(tool-bar-mode -1)
;(menu-bar-mode -1)
(menu-bar-mode -1)
(scroll-bar-mode -1)
;; disable cursor blinking