diff options
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index d97fd3f8..790f0202 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -704,10 +704,12 @@ Lisp Interaction C-j in `lisp-interaction-mode' and similar." ;; not expect `mouse-autoselect-window' to be on. E.g. `magit-status' ;; can leave focus in the wrong window without this. (advice-add 'display-buffer :around #'spw/disable-mouse-autoselect-window)) - ;; If X or Sway, we know we have a usable primary selection, so turn off - ;; additionally copying to the clipboard. See also NEWS.24. - (setq select-enable-clipboard - (not (or spw/tiling-wm-p (eq (framep frame) 'x))))) + ;; If X or Sway, we know we have a usable primary selection, so we used to + ;; turn off additionally copying to the clipboard. However, we do want to + ;; be able to yank from the clipboard. See also NEWS.24. + ;; (setq select-enable-clipboard + ;; (not (or spw/tiling-wm-p (eq (framep frame) 'x)))) + ) (add-to-list 'after-make-frame-functions #'spw/detect-tiling-wm) (defun spw/use-tabs-not-frames () |