Issue #5847: Remove -n switch on "Edit with IDLE" menu item.
diff --git a/Misc/NEWS b/Misc/NEWS
index 0152d9a..26af9bb 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -863,6 +863,8 @@
 Build
 -----
 
+- Issue #5847: Remove -n switch on "Edit with IDLE" menu item.
+
 - Issue #5726: Make Modules/ld_so_aix return the actual exit code of the
   linker, rather than always exit successfully. Patch by Floris Bruynooghe.
 
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index 38d57ed..de61914 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -1187,10 +1187,10 @@
     if have_tcl:
         tcl_verbs=[
              ("py.IDLE", -1, pat % (testprefix, "", ewi), "",
-              r'"[TARGETDIR]pythonw.exe" "[TARGETDIR]Lib\idlelib\idle.pyw" -n -e "%1"',
+              r'"[TARGETDIR]pythonw.exe" "[TARGETDIR]Lib\idlelib\idle.pyw" -e "%1"',
               "REGISTRY.tcl"),
              ("pyw.IDLE", -1, pat % (testprefix, "NoCon", ewi), "",
-              r'"[TARGETDIR]pythonw.exe" "[TARGETDIR]Lib\idlelib\idle.pyw" -n -e "%1"',
+              r'"[TARGETDIR]pythonw.exe" "[TARGETDIR]Lib\idlelib\idle.pyw" -e "%1"',
               "REGISTRY.tcl"),
         ]
     add_data(db, "Registry",