After starting Emacs from a Terminal window, the following message is displayed:
An error has occurred while loading '/Users/EvanAad/.emacs': Symbol's function definition is void: package-initialize To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the '--debug-init' option to view a complete error backtrace.
Restarting Emacs with the
--debug-init option displays the following in Emacs' Debugger buffer:
Debugger entered--Lisp error: (void-function package-initialize) (package-initialize) eval-buffer(#<buffer *load*> nil "/Users/evanaad/.emacs" nil t) ; Reading$ load-with-code-conversion("/Users/evanaad/.emacs" "/Users/evanaad/.emacs"$ load("~/.emacs" t t) #[nil "^H\205\276^@ \306=\203^Q^@\307^H\310Q\202A^@ \311=\2033^@\312\307\31$ command-line() normal-top-level()
P.S. The reason why I want to start emacs from the command line is as an attempt to resolve this issue (see step #5 in the 'Attempted steps' section).
Operating system: macOS Sierra, Version 10.12.4
Emacs version: 25.1.1