SHARE
TWEET

Untitled

a guest Apr 23rd, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defvar me/hidden-mode-line-format nil)
  2.  
  3. (defun me/hide-graphical-elements ()
  4.   (interactive)
  5.   (tool-bar-mode -1)
  6.   (menu-bar-mode -1)
  7.   (scroll-bar-mode -1)
  8.   (setq me/hidden-mode-line-format mode-line-format)
  9.   (setq mode-line-format nil))
  10.  
  11. (defun me/show-graphical-elements ()
  12.   (interactive)
  13.   (tool-bar-mode 1)
  14.   (menu-bar-mode 1)
  15.   (scroll-bar-mode 1)
  16.   (setq mode-line-format me/hidden-mode-line-format))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top