Remove prelude-fullscreen
This commit is contained in:
parent
c45ab2c5a0
commit
a85c56d7bf
4 changed files with 1 additions and 17 deletions
|
@ -11,6 +11,7 @@
|
||||||
* [#1278](https://github.com/bbatsov/prelude/issues/1278): Don't disable `menu-bar-mode` unless `prelude-minimalistic-ui` is enabled.
|
* [#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`.
|
* [#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`.
|
* 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
|
### Bugs fixed
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,6 @@ PROMPT sets the `read-string prompt."
|
||||||
"Press <C-S-Backspace> or <s-k> to kill the whole line."
|
"Press <C-S-Backspace> or <s-k> to kill the whole line."
|
||||||
"Press <s-j> or <C-^> to join lines."
|
"Press <s-j> or <C-^> to join lines."
|
||||||
"Press <s-.> or <C-c j> to jump to the start of a word in any visible window."
|
"Press <s-.> or <C-c j> to jump to the start of a word in any visible window."
|
||||||
"Press <f11> to toggle fullscreen mode."
|
|
||||||
"Press <f12> to toggle the menu bar."
|
"Press <f12> to toggle the menu bar."
|
||||||
"Explore the Tools->Prelude menu to find out about some of Prelude extensions to Emacs."
|
"Explore the Tools->Prelude menu to find out about some of Prelude extensions to Emacs."
|
||||||
"Access the official Emacs manual by pressing <C-h r>."))
|
"Access the official Emacs manual by pressing <C-h r>."))
|
||||||
|
@ -145,18 +144,6 @@ With a prefix ARG updates all installed packages."
|
||||||
(epl-installed-packages))))
|
(epl-installed-packages))))
|
||||||
(message "Update finished. Restart Emacs to complete the process.")))
|
(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)
|
(defun prelude-wrap-with (s)
|
||||||
"Create a wrapper function for smartparens using S."
|
"Create a wrapper function for smartparens using S."
|
||||||
`(lambda (&optional arg)
|
`(lambda (&optional arg)
|
||||||
|
|
|
@ -94,9 +94,6 @@
|
||||||
;; replace buffer-menu with ibuffer
|
;; replace buffer-menu with ibuffer
|
||||||
(global-set-key (kbd "C-x C-b") 'ibuffer)
|
(global-set-key (kbd "C-x C-b") 'ibuffer)
|
||||||
|
|
||||||
(unless (fboundp 'toggle-frame-fullscreen)
|
|
||||||
(global-set-key (kbd "<f11>") 'prelude-fullscreen))
|
|
||||||
|
|
||||||
;; toggle menu-bar visibility
|
;; toggle menu-bar visibility
|
||||||
(global-set-key (kbd "<f12>") 'menu-bar-mode)
|
(global-set-key (kbd "<f12>") 'menu-bar-mode)
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,6 @@
|
||||||
\item[C-o] (isearch-mode) isearch-occur
|
\item[C-o] (isearch-mode) isearch-occur
|
||||||
\item[M-/] hippie-expand
|
\item[M-/] hippie-expand
|
||||||
\item[C-x C-b] ibuffer
|
\item[C-x C-b] ibuffer
|
||||||
\item[<f11>] prelude-fullscreen
|
|
||||||
\item[<f12>] menu-bar-mode
|
\item[<f12>] menu-bar-mode
|
||||||
\item[C-x g] magit-status
|
\item[C-x g] magit-status
|
||||||
\item[C-x M-g] magit-dispatch
|
\item[C-x M-g] magit-dispatch
|
||||||
|
|
Loading…
Reference in a new issue