summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-06-04 00:37:11 +0800
committerJSDurand <mmemmew@gmail.com>2021-06-04 00:37:11 +0800
commit88926c333ec078de572458b69f65dbfded85e39a (patch)
tree294370ddd8a003beda6c375b155acde7f45765d3
parent6bcd6713217657ab85173824dafb6a85f36cb45b (diff)
basic: Preserve system clipboard
-rw-r--r--basic.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/basic.el b/basic.el
index 8110c05..1a3289c 100644
--- a/basic.el
+++ b/basic.el
@@ -6,6 +6,10 @@
(set 'eval-expression-print-length nil) ;; A value of nil means no limit.
(set 'eval-expression-print-level nil) ;; A value of nil means no limit.
+;; useful setting for preserving the system clipboards
+
+(setq save-interprogram-paste-before-kill t)
+
;;; Setting the direction of the text can speed things up.
(set-default 'bidi-paragraph-direction 'left-to-right)