diff --git a/CHANGELOG.md b/CHANGELOG.md index 348a86f..5d6b6d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ * [#1278](https://github.com/bbatsov/prelude/issues/1278): Don't disable `menu-bar-mode` unless `prelude-minimalistic-ui` is enabled. * [#1277](https://github.com/bbatsov/prelude/issues/1277): Make it possible to disable the creation of `Super`-based keybindings via `prelude-super-keybindings`. * Removed deprecated alias `prelude-ensure-module-deps`. +* Remove `prelude-fullscreen`, as these days people can use `toggle-frame-fullscreen` instead. (it was introduced in Emacs 24.4) ### Bugs fixed diff --git a/core/prelude-core.el b/core/prelude-core.el index e6dea6c..e8ba1a1 100644 --- a/core/prelude-core.el +++ b/core/prelude-core.el @@ -95,7 +95,6 @@ PROMPT sets the `read-string prompt." "Press or to kill the whole line." "Press or to join lines." "Press or to jump to the start of a word in any visible window." - "Press to toggle fullscreen mode." "Press to toggle the menu bar." "Explore the Tools->Prelude menu to find out about some of Prelude extensions to Emacs." "Access the official Emacs manual by pressing .")) @@ -145,18 +144,6 @@ With a prefix ARG updates all installed packages." (epl-installed-packages)))) (message "Update finished. Restart Emacs to complete the process."))) -;;; Emacs in macOS already has fullscreen support -;;; Emacs has a similar built-in command in 24.4 -(defun prelude-fullscreen () - "Make Emacs window fullscreen. - -This follows freedesktop standards, should work in X servers." - (interactive) - (if (eq window-system 'x) - (x-send-client-message nil 0 nil "_NET_WM_STATE" 32 - '(2 "_NET_WM_STATE_FULLSCREEN" 0)) - (error "Only X server is supported"))) - (defun prelude-wrap-with (s) "Create a wrapper function for smartparens using S." `(lambda (&optional arg) diff --git a/core/prelude-global-keybindings.el b/core/prelude-global-keybindings.el index b29c4b6..89d43b7 100644 --- a/core/prelude-global-keybindings.el +++ b/core/prelude-global-keybindings.el @@ -94,9 +94,6 @@ ;; replace buffer-menu with ibuffer (global-set-key (kbd "C-x C-b") 'ibuffer) -(unless (fboundp 'toggle-frame-fullscreen) - (global-set-key (kbd "") 'prelude-fullscreen)) - ;; toggle menu-bar visibility (global-set-key (kbd "") 'menu-bar-mode) diff --git a/doc/prelude-cheatsheet.tex b/doc/prelude-cheatsheet.tex index b9d4aeb..bb7cca0 100644 --- a/doc/prelude-cheatsheet.tex +++ b/doc/prelude-cheatsheet.tex @@ -74,7 +74,6 @@ \item[C-o] (isearch-mode) isearch-occur \item[M-/] hippie-expand \item[C-x C-b] ibuffer - \item[] prelude-fullscreen \item[] menu-bar-mode \item[C-x g] magit-status \item[C-x M-g] magit-dispatch