Created
April 13, 2019 17:04
-
-
Save maurelio1234/8b045822f8abe39eaeba9f786585dd14 to your computer and use it in GitHub Desktop.
shows and hide emacs graphical elements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defvar me/hidden-mode-line-format nil) | |
(defun me/hide-graphical-elements () | |
(interactive) | |
(tool-bar-mode -1) | |
(menu-bar-mode -1) | |
(scroll-bar-mode -1) | |
(setq me/hidden-mode-line-format mode-line-format) | |
(setq mode-line-format nil)) | |
(defun me/show-graphical-elements () | |
(interactive) | |
(tool-bar-mode 1) | |
(menu-bar-mode 1) | |
(scroll-bar-mode 1) | |
(setq mode-line-format me/hidden-mode-line-format)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment