Fixes .emacs for emacs-nox

This commit is contained in:
2022-01-19 15:33:46 +01:00
parent ecb7bfad0c
commit 2105dd1b3e
2 changed files with 10 additions and 3 deletions

6
.emacs
View File

@@ -38,9 +38,11 @@
(face trailing tabs lines-tail newline space-before-tab::tab space-before-tab::space space-before-tab tab-mark))))
(toggle-scroll-bar -1)
(if (fboundp 'toggle-scroll-bar)
(toggle-scroll-bar -1))
(menu-bar-mode -1)
(tool-bar-mode -1)
(if (fboundp 'tool-bar-mode)
(tool-bar-mode -1))
(add-to-list 'default-frame-alist '(fullscreen . maximized))
(add-hook 'before-save-hook 'delete-trailing-whitespace)