Skip to content

Commit

Permalink
Rename moom-expand-height to moom-fill-height
Browse files Browse the repository at this point in the history
  • Loading branch information
takaxp committed May 30, 2020
1 parent 31555bf commit a7e63eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moom.el
Original file line number Diff line number Diff line change
Expand Up @@ -901,15 +901,15 @@ please configure the margins by `moom-screen-margin'."
(moom--cycle-frame-height-list)
(setq height (car moom--height-list)))
(cond ((equal height (moom--max-frame-height))
(moom-expand-height))
(moom-fill-height))
((equal height (/ (moom--max-frame-height) 2))
(moom-change-frame-height (moom--max-half-frame-pixel-height) t))
(t (moom-change-frame-height height))))
(moom--cycle-frame-height-list)
(run-hooks 'moom-resize-frame-height-hook))

;;;###autoload
(defun moom-expand-height ()
(defun moom-fill-height ()
"Expand frame height to fill screen vertically without changing frame width."
(moom-change-frame-height (moom--max-frame-pixel-height) t))

Expand Down

0 comments on commit a7e63eb

Please sign in to comment.