summaryrefslogtreecommitdiff
path: root/emacs/functions.el
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2024-02-11 16:39:29 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2024-02-11 16:39:29 +0000
commit86dfb4e4f281b299fc7139d730e665de0e54d133 (patch)
tree15bac24ead62f7fa0db98f43603363d235e47d9e /emacs/functions.el
parentd13df53ace537f0cb2afafa787bfde06e15f1020 (diff)
emacs: Replace my/focus-frame with my/resize-frame
my/resize-frame will provide more options to resize the frame as desired. Also, make that function available only on macOS, since Linux has capable tiling window managers.
Diffstat (limited to 'emacs/functions.el')
-rw-r--r--emacs/functions.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/emacs/functions.el b/emacs/functions.el
index 3e879cc..85b45ac 100644
--- a/emacs/functions.el
+++ b/emacs/functions.el
@@ -62,14 +62,6 @@ enabled."
(dolist (mode '(menu-bar-mode scroll-bar-mode tool-bar-mode))
(when (and (fboundp mode) (symbol-value mode)) (funcall mode -1))))
-(defun my/focus-frame (&optional frame)
- "Focus FRAME."
- (interactive)
- (delete-other-windows)
- (modify-frame-parameters frame '((height . 1.0) (width . 0.5)
- (left . 0.5) (top . 1.0)
- (user-position . t))))
-
;; Misc. Stuff