dotspacemacs-fullscreen-at-startup
- dotspacemacs-fullscreen-at-startup now toogles fullscreen, not maximize - dotspacemacs-maximized-at-startup added, toogles maximized as the old dotspacemacs-fullscreen-at-startup did
This commit is contained in:
parent
e781141c06
commit
d9f670784b
|
@ -22,6 +22,9 @@ with `:' and Emacs commands are executed with `<leader> :'.")
|
|||
"Guide-key delay in seconds.")
|
||||
|
||||
(defvar dotspacemacs-fullscreen-at-startup nil
|
||||
"If non nil the frame put in fullscreen when Emacs starts up (Emacs 24.4+ only).")
|
||||
|
||||
(defvar dotspacemacs-maximized-at-startup nil
|
||||
"If non nil the frame is maximized when Emacs starts up (Emacs 24.4+ only).")
|
||||
|
||||
(defvar dotspacemacs-smooth-scrolling t
|
||||
|
|
|
@ -138,6 +138,9 @@ Can be installed with `brew install trash'."
|
|||
(unless (version< emacs-version "24.4")
|
||||
(if (and (boundp 'dotspacemacs-fullscreen-at-startup)
|
||||
dotspacemacs-fullscreen-at-startup)
|
||||
(toggle-frame-fullscreen))
|
||||
(if (and (boundp 'dotspacemacs-maximized-at-startup)
|
||||
dotspacemacs-maximized-at-startup)
|
||||
(toggle-frame-maximized)))
|
||||
|
||||
;; ---------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue