Dont show menu-bar or tool-bar by calling toggle-frame
This commit is contained in:
parent
f56a44a213
commit
02aeb16991
1 changed files with 1 additions and 5 deletions
|
@ -515,11 +515,7 @@ an ALIAS and SERVICE as arguments and call
|
|||
(progn
|
||||
(menu-bar-mode -1)
|
||||
(tool-bar-mode -1)
|
||||
(scroll-bar-mode -1))
|
||||
(progn
|
||||
(menu-bar-mode 1)
|
||||
(tool-bar-mode 1)
|
||||
(scroll-bar-mode 1)))
|
||||
(scroll-bar-mode -1)))
|
||||
(message "Window decorations %s" (if new-undecorated "disabled" "enabled"))))
|
||||
|
||||
(global-set-key (kbd "<f12>") 'mk/toggle-frame-decorations)
|
||||
|
|
Loading…
Add table
Reference in a new issue