Skip to main content
put code inside code block
Source Link
tarsius
  • 26.3k
  • 4
  • 74
  • 111

To startup Emacs maximised, add to your init file:

;; Start maximised (cross-platf)
(add-hook 'window-setup-hook 'toggle-frame-maximized t)

In case you want to go full screen or, as they say now, distraction free mode:

;; Start fullscreen (cross-platf)
(add-hook 'window-setup-hook 'toggle-frame-fullscreen t)

(add-hook 'window-setup-hook 'toggle-frame-fullscreen t)

NOTE: This works in Windows too.

To startup Emacs maximised, add to your init file:

;; Start maximised (cross-platf)
(add-hook 'window-setup-hook 'toggle-frame-maximized t)

In case you want to go full screen or, as they say now, distraction free mode:

;; Start fullscreen (cross-platf)

(add-hook 'window-setup-hook 'toggle-frame-fullscreen t)

NOTE: This works in Windows too.

To startup Emacs maximised, add to your init file:

;; Start maximised (cross-platf)
(add-hook 'window-setup-hook 'toggle-frame-maximized t)

In case you want to go full screen or, as they say now, distraction free mode:

;; Start fullscreen (cross-platf)
(add-hook 'window-setup-hook 'toggle-frame-fullscreen t)

NOTE: This works in Windows too.

Source Link
antonio
  • 1.8k
  • 13
  • 29

To startup Emacs maximised, add to your init file:

;; Start maximised (cross-platf)
(add-hook 'window-setup-hook 'toggle-frame-maximized t)

In case you want to go full screen or, as they say now, distraction free mode:

;; Start fullscreen (cross-platf)

(add-hook 'window-setup-hook 'toggle-frame-fullscreen t)

NOTE: This works in Windows too.