Update docstrings for doom/window-{zoom,enlargen}
Perhaps rethink their names?
This commit is contained in:
parent
12c2208c53
commit
2088afa08a
2 changed files with 16 additions and 8 deletions
|
@ -11,12 +11,14 @@
|
|||
|
||||
* Unreleased (develop)
|
||||
+ *Module changes:*
|
||||
+ Split =lang/java= into two submodules: one for eclim, and another for
|
||||
meghanada. The latter is still the default, however. Also, the eclim
|
||||
+ *BREAKING* Split =lang/java= into two submodules: one for eclim, and another for
|
||||
meghanada. You will need to update your =init.el= to enable one.
|
||||
submodule is experimental, since I have few opportunities to test it.
|
||||
+ Add =ui/window-select= (and moved ace-window out of ~core-ui~), which offers
|
||||
two submodules for interactive window selection/moving: ace-window and
|
||||
switch-window.
|
||||
+ *BREAKING* Ace-window is no longer part of Doom core. It has been moved to
|
||||
=ui/window-select=, which offers two submodules for interactive window
|
||||
selection/moving: ace-window and switch-window.
|
||||
+ New module: =lang/nix=, adds support for editing nix configuration files.
|
||||
Contributed by [[https://github.com/ocharles][ocharles]].
|
||||
+ =general=
|
||||
+ New command naming convention: ~doom//...~ -- denotes that this an
|
||||
interactive command meant for:
|
||||
|
@ -45,6 +47,9 @@
|
|||
to set in their own private module. Use ~(set! :font "Font Name" :size N)~
|
||||
to do so.
|
||||
+ =lang=
|
||||
+ =clojure=
|
||||
+ This module has been rewritten with improved Cider and clojurescript
|
||||
support, as well as new refactoring commands. Thanks to [[https://github.com/teesloane][teesloane]]!
|
||||
+ =crystal=
|
||||
+ Add flycheck integration for the Crystal language, powered by
|
||||
~flycheck-crystal~.
|
||||
|
|
|
@ -36,8 +36,10 @@ If FORCE-P is omitted when `window-size-fixed' is non-nil, resizing will fail."
|
|||
|
||||
;;;###autoload
|
||||
(defun doom/window-zoom ()
|
||||
"Maximize and isolate the current buffer. Activate again to undo this. If the
|
||||
window changes before then, the undo expires."
|
||||
"Close other windows to focus on this one. Activate again to undo this. If the
|
||||
window changes before then, the undo expires.
|
||||
|
||||
Alternatively, use `doom/window-enlargen'."
|
||||
(interactive)
|
||||
(if (and (one-window-p)
|
||||
(assoc ?_ register-alist))
|
||||
|
@ -48,7 +50,8 @@ window changes before then, the undo expires."
|
|||
(defvar doom--window-enlargened nil)
|
||||
;;;###autoload
|
||||
(defun doom/window-enlargen ()
|
||||
"Enlargen the current window. Activate again to undo."
|
||||
"Enlargen the current window to focus on this one. Does not close other
|
||||
windows (unlike `doom/window-zoom') Activate again to undo."
|
||||
(interactive)
|
||||
(setq doom--window-enlargened
|
||||
(if (and doom--window-enlargened
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue