summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorLLoyderino <adrijan.bjedov@gmail.com>2025-06-01 20:21:26 +0200
committerLLoyderino <adrijan.bjedov@gmail.com>2025-06-01 20:21:26 +0200
commita80c3540713bdc58bdc0be3f0724ff36622517ea (patch)
tree893f5bf5a58f72f5fd4dbe6016e340e2af503291 /init.el
parent01e4a9fc3c631a29c19866709fc2ef59db7588b7 (diff)
Fixed various minor mistakes in the configuration file
Diffstat (limited to 'init.el')
-rw-r--r--init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/init.el b/init.el
index eb71cf0..4df4a30 100644
--- a/init.el
+++ b/init.el
@@ -1,5 +1,5 @@
;; Please no custom file
-(setq custom-file (locate-user-emacs-file "emacs-custom.el")
+(setq custom-file (locate-user-emacs-file "emacs-custom.el"))
(load custom-file 'noerror 'nomessage)
;; Start maximized
@@ -27,7 +27,7 @@
(setq global-auto-revert-non-file-buffers t) ; Update dired when directory changes
;; Catppuccin theme
-(load "~/.emacs.d/theme.el")
+(load (locate-user-emacs-file "theme.el"))
;; pdf-tools
(use-package pdf-tools)
@@ -43,6 +43,7 @@
(use-package markdown-mode)
;; Flymake
+(require 'flymake)
(setq flymake-show-diagnostics-at-end-of-line t)
(define-key flymake-mode-map (kbd "M-n") 'flymake-goto-next-error)
(define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error)