about summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-06-14 12:14:14 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-06-14 14:55:19 +0700
commit9b0fd719c3f842e12bbe0bb926b8532bfc61d2d1 (patch)
tree01396a19d0546af845a3d3f65776953b52aff1f5 /emacs
parent975b62bd33f48d61550088123b5a1bb930558efe (diff)
downloaddotfiles-9b0fd719c3f842e12bbe0bb926b8532bfc61d2d1.tar.gz
Update 2018-06-14
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index bb625aa..cf6169d 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -3,8 +3,6 @@
 ;; just comment it out by adding a semicolon to the start of the line.
 ;; You may delete these explanatory comments.
 (package-initialize)
-(require 'geiser)
-(setq-default geiser-repl-use-other-window nil)
 (pdf-tools-install)
 
 (custom-set-variables
@@ -35,9 +33,15 @@
                         :width normal))))
  '(whitespace-space ((t (:foreground "gray")))))
 
+(cua-mode)
 (setq-default inhibit-splash-screen t)
 (setq-default fill-column 80)
 (add-hook 'prog-mode-hook 'ruler-mode)
+(add-hook 'scheme-mode-hook
+          (lambda ()
+            (require 'geiser)
+            (setq-default geiser-repl-use-other-window nil)
+            (setq-default geiser-repl-query-on-kill-p nil)))
 (add-hook 'python-mode-hook
           (lambda ()
             (setq fill-column 79)