From c6f8f56587c658fa8bc6816605674e7e2ef5d2af Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Wed, 4 Jun 2025 22:47:20 +0300 Subject: [PATCH] Use a separate Emacs process for sudoediting files --- .profile | 1 + 1 file changed, 1 insertion(+) diff --git a/.profile b/.profile index 4c93a3e..bb07076 100644 --- a/.profile +++ b/.profile @@ -36,6 +36,7 @@ if [ -d "$(systemd-path user-state-private)"/git-sync ] ; then fi umask 0007 +export SUDO_EDITOR="/usr/local/bin/emacs --no-init-file --no-splash --no-window-system" export EDITOR="emacsclient" export VISUAL="emacsclient" export GTK_IM_MODULE="fcitx"