Start Emacs Without Loading Init File or with Different Init File

By Xah Lee. Date: . Last updated: .

Start Emacs Without Loading Init File

You can start emacs without loading Init File . This is useful if you made a mistake in your init file.

# start emacs without loading init file
emacs -q

[see Emacs: Command Line Options]

On Windows, to start emacs with command line options, you can use PowerShell. [see PowerShell Tutorial]

 PowerShell start emacs 2021-06-29
PowerShell start emacs 2021-06-29

Or, create a alias of the emacs icon, and in properties, set the launch options. [see Emacs in Microsoft Windows FAQ]

Start Emacs with Different Init File

emacs -q -l InitFilePath

Emacs Init Files


Emacs Init

Init Basics

Keys

Font

Text Editing

Completion

File

Restore Things

Backup/AutoSave

Line

Appearance

Misc

Advanced Init Tips

packages