Update docstrings for doom/window-{zoom,enlargen}

Perhaps rethink their names?
This commit is contained in:
Henrik Lissner 2017-12-08 22:15:26 -05:00
parent 12c2208c53
commit 2088afa08a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 16 additions and 8 deletions

View file

@ -11,12 +11,14 @@
* Unreleased (develop) * Unreleased (develop)
+ *Module changes:* + *Module changes:*
+ Split =lang/java= into two submodules: one for eclim, and another for + *BREAKING* Split =lang/java= into two submodules: one for eclim, and another for
meghanada. The latter is still the default, however. Also, the eclim meghanada. You will need to update your =init.el= to enable one.
submodule is experimental, since I have few opportunities to test it. 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 + *BREAKING* Ace-window is no longer part of Doom core. It has been moved to
two submodules for interactive window selection/moving: ace-window and =ui/window-select=, which offers two submodules for interactive window
switch-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= + =general=
+ New command naming convention: ~doom//...~ -- denotes that this an + New command naming convention: ~doom//...~ -- denotes that this an
interactive command meant for: interactive command meant for:
@ -45,6 +47,9 @@
to set in their own private module. Use ~(set! :font "Font Name" :size N)~ to set in their own private module. Use ~(set! :font "Font Name" :size N)~
to do so. to do so.
+ =lang= + =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= + =crystal=
+ Add flycheck integration for the Crystal language, powered by + Add flycheck integration for the Crystal language, powered by
~flycheck-crystal~. ~flycheck-crystal~.

View file

@ -36,8 +36,10 @@ If FORCE-P is omitted when `window-size-fixed' is non-nil, resizing will fail."
;;;###autoload ;;;###autoload
(defun doom/window-zoom () (defun doom/window-zoom ()
"Maximize and isolate the current buffer. Activate again to undo this. If the "Close other windows to focus on this one. Activate again to undo this. If the
window changes before then, the undo expires." window changes before then, the undo expires.
Alternatively, use `doom/window-enlargen'."
(interactive) (interactive)
(if (and (one-window-p) (if (and (one-window-p)
(assoc ?_ register-alist)) (assoc ?_ register-alist))
@ -48,7 +50,8 @@ window changes before then, the undo expires."
(defvar doom--window-enlargened nil) (defvar doom--window-enlargened nil)
;;;###autoload ;;;###autoload
(defun doom/window-enlargen () (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) (interactive)
(setq doom--window-enlargened (setq doom--window-enlargened
(if (and doom--window-enlargened (if (and doom--window-enlargened