clean up the configuration a bit

This commit is contained in:
Mateus Rodrigues
2026-07-03 21:46:19 +01:00
parent ca981c61b8
commit 36774be5bd
13 changed files with 26 additions and 232 deletions

View File

@@ -1,6 +1,3 @@
;; Initialize emacs in eshell, not splash screen
;;(setq initial-buffer-choice (eshell))
;; Write custom set variables to different file
(setq custom-file "~/.emacs.d/elisp/custom.el")
@@ -25,7 +22,7 @@
;; C default style
(add-hook 'c-mode-hook
(lambda ()
(lambda ()
(c-set-style "linux")))
;; Always use spaces, never tabs
@@ -73,10 +70,6 @@
(kill-buffer "*scratch*")))
(add-hook 'after-change-major-mode-hook 'remove-scratch-buffer)
;; Removes *messages* from the buffer.
;(setq-default message-log-max nil)
;(kill-buffer "*Messages*")
;; Removes *Completions* from buffer after you've opened a file.
(add-hook 'minibuffer-exit-hook
#'(lambda ()