Reputation: 1043
I installed emacs and it worked ok. I tried to change configuration file ( I made init.el file and copied Styling (Themes & More) part from: realpython.com
After this operation I lost menubar and toolbar. I deleted my init.el file but all changes are still present. How can I reset old settings. I am new with emacs and I'd like to have menubar for now. Thank you for any help.
Upvotes: 0
Views: 1639
Reputation: 11316
You can add this function to your .emacs file to regain the missing items.
(defun restore-menu-bar()
(interactive)
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode 1))
(if (fboundp 'tool-bar-mode) (tool-bar-mode 1))
(if (fboundp 'menu-bar-mode) (menu-bar-mode 1)))
(restore-menu-bar)
Upvotes: 1