Some additional changes to stuff

This commit is contained in:
Maciej Szlosarczyk 2017-08-26 01:05:11 +03:00
parent 99dddafe63
commit 1390969075
No known key found for this signature in database
GPG key ID: 0D4EEACF63D4262E
9 changed files with 39 additions and 173 deletions

View file

@ -42,4 +42,14 @@
(add-hook 'kill-emacs-hook 'byte-compile-init-dir)
(add-hook 'emacs-lisp-mode-hook 'remove-elc-on-save)
;; Always start in fullscreen
(defun toggle-fullscreen ()
"Toggle full screen."
(interactive)
(set-frame-parameter
nil 'fullscreen
(when (not (frame-parameter nil 'fullscreen)) 'fullboth)))
(toggle-fullscreen)
;;; functions.el ends here