summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-01-23 22:10:15 +0800
committerJSDurand <mmemmew@gmail.com>2022-01-23 22:10:15 +0800
commit7054eab0dc328f905cc980027454e97ba09bcf37 (patch)
treec0a930f8da72f740a03dd12f325dd519c8a43f07 /init.el
parente25238bafc9134d95d8343180511555b3a553ffc (diff)
cat and mouse
* init.el (mouse-avoidance-mode): Let's play the cat-and-mouse game, because why not.
Diffstat (limited to 'init.el')
-rw-r--r--init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.el b/init.el
index bfa603c..8f2b8c1 100644
--- a/init.el
+++ b/init.el
@@ -371,6 +371,10 @@ no effect."
((add-to-list 'auto-mode-alist
(cons "\\.go$" #'go-mode))))
+;;; Cat and mouse
+
+(cond ((display-mouse-p) (mouse-avoidance-mode 'cat-and-mouse)))
+
;;; server
;; (cond