From 25eecc532f8f3c19496ff7587730f1d378fec08e Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 4 Aug 2020 11:52:52 -0400 Subject: [PATCH] Prevent focus stealing (raising a window) on MacOS --- .emacs.d/init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 3b9dbd8..1fa1d89 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -308,7 +308,9 @@ (use-package ns-win :config (setq ns-command-modifier 'hyper) - (server-start)) + (server-start) + ; disable focus stealing + (defun raise-frame (frame) (interactive) nil)) (use-package yaml-mode :config