diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-05-02 19:26:27 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-05-02 19:26:27 +0300 |
commit | 4461e67dd98d5039e0fc1c421243c2a5b19c8ac7 (patch) | |
tree | 6457d756f6b2d166d06a4b8d3d7dee8219815044 /emacs.d/init.el | |
parent | 14f8be35d9b5fd234a29f84f1840798fd0b40a97 (diff) | |
download | liw-dot-files-4461e67dd98d5039e0fc1c421243c2a5b19c8ac7.tar.gz |
Change: clean up init.el a bit
Diffstat (limited to 'emacs.d/init.el')
-rw-r--r-- | emacs.d/init.el | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el index b056fe1..86a67ba 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -1,5 +1,7 @@ +;;; init.el --- my Emacs init + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Initialize package system. +;; Initialise package system. (require 'package) @@ -59,8 +61,8 @@ (use-package flycheck) (use-package flycheck-rust) -(with-eval-after-load 'rust-mode - (add-hook 'flycheck-mode-hook #'flycheck-rust-setup)) +;;(with-eval-after-load 'rust-mode +;; (add-hook 'flycheck-mode-hook #'flycheck-rust-setup)) (use-package flycheck-color-mode-line) (eval-after-load 'flycheck @@ -89,7 +91,7 @@ :foreground "#ff0000" :height 0.7) ;; Enable X CLIPBOARD selection, instead of PRIMARY. -(setq x-select-enable-clipboard t) +(setq select-enable-clipboard t) ;; Show directories in the Buffers menu. (setq buffers-menu-show-directories t) @@ -144,11 +146,7 @@ ;; Turn on flycheck mode for program code. -(require 'flycheck) (add-hook 'prog-mode-hook 'flycheck-mode) -(setq flycheck-idle-delay 0.25) -(setq flycheck-check-syntax-automatically - '(save idle-change new-line idle-buffer-switch mode-enabled)) (set-face-attribute 'flycheck-error nil :weight 'bold :underline "#ff0000" |