summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2020-02-13 10:17:21 +0100
committerfpi2020-02-23 18:07:13 +0100
commit91a2c6106a49cb207490493807e989256b5d50cf (patch)
treefbbaf284b211484d4aa27b1405e2a4189f384122
parentBetter distinguish refile targets with the same name (diff)
Patch for SSH X-Forwarding on Windows
Diffstat (limited to '')
-rw-r--r--emacs-init.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs-init.org b/emacs-init.org
index 67746e2..6143409 100644
--- a/emacs-init.org
+++ b/emacs-init.org
@@ -91,6 +91,13 @@ header argument in the source code.
;; (setq safe-local-variable-values (list (cons 'buffer-auto-save-file-name nil)
;; (cons 'header-line-format " ")))
(setq vc-follow-symlinks t)
+
+;; For use on Windows via SSH X-Forwarding
+;; See https://emacs.stackexchange.com/a/42440/25850
+(setq default-frame-alist
+ (append default-frame-alist '((inhibit-double-buffering . t))))
+(setq posframe-inhibit-double-buffering t)
+
(load (expand-file-name "emacs-init.el" user-emacs-directory))
#+end_src