Skip to content

Commit

Permalink
Remove unused condition in acm-frame-adjust-frame-pos
Browse files Browse the repository at this point in the history
  • Loading branch information
manateelazycat committed Jun 27, 2023
1 parent af68799 commit 0c03ffa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions acm/acm-frame.el
Original file line number Diff line number Diff line change
Expand Up @@ -326,13 +326,11 @@ influence of C1 on the result."
("bottom-right"
(set-frame-position frame (- main-window-width frame-width) (- main-window-height frame-height)))
("point"
(when (and (> frame-right-edge main-window-right-limit)
(> (- main-window-x main-window-width) 0))
(when (> frame-right-edge main-window-right-limit)
(set-frame-position frame
(- (+ main-window-x main-window-width) frame-width margin)
frame-y))
(when (and (> frame-bottom-edge main-window-bottom-limit)
(> (- main-window-y main-window-height) 0))
(when (> frame-bottom-edge main-window-bottom-limit)
(set-frame-position frame
frame-x
(- (+ main-window-y main-window-height) frame-height margin)
Expand Down

0 comments on commit 0c03ffa

Please sign in to comment.