Add function to resize frame
This commit is contained in:
parent
deea71abf9
commit
75ad2ea91b
1 changed files with 7 additions and 0 deletions
|
@ -520,5 +520,12 @@ an ALIAS and SERVICE as arguments and call
|
||||||
|
|
||||||
(global-set-key (kbd "<f12>") 'mk/toggle-frame-decorations)
|
(global-set-key (kbd "<f12>") 'mk/toggle-frame-decorations)
|
||||||
|
|
||||||
|
(defun mk/set-frame-size-85x50 ()
|
||||||
|
"Set the current frame's size to 85 columns by 50 rows."
|
||||||
|
(interactive)
|
||||||
|
(set-frame-size (selected-frame) 85 50))
|
||||||
|
|
||||||
|
(global-set-key (kbd "C-<f12>") #'mk/set-frame-size-85x50)
|
||||||
|
|
||||||
(provide 'bundle-mk)
|
(provide 'bundle-mk)
|
||||||
;;; bundle-mk.el ends here
|
;;; bundle-mk.el ends here
|
||||||
|
|
Loading…
Add table
Reference in a new issue