I have customized the .emacs
file a little to suit my taste, and it works fine when run in its own window.
But when I try to run it in my terminal using the command emacs -nw
, it throws up the following error in a split view, with the other view running emacs properly on the console, albeit without a few of my customizations.
Warning (initialization): An error occurred while loading `/home/safiyat/.emacs':
error: X windows are not in use or not initialized
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.
How is it possible to have an error free load of the init file on both X and the console?
Thank you.