diff options
author | Yuchen Pei <id@ypei.org> | 2023-07-05 20:43:34 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-07-05 20:43:34 +1000 |
commit | 4d9ddb8269bbae9ee52d17b5d2ca30745220fe25 (patch) | |
tree | ae2fd7d47ac9557e669049adcb5186ccc2a73821 /emacs/.emacs.d/lisp/my | |
parent | 37805ccd2a94a57e86a0dc26a703736f881c66e4 (diff) |
some minor changes
Diffstat (limited to 'emacs/.emacs.d/lisp/my')
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-buffer.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-buffer.el b/emacs/.emacs.d/lisp/my/my-buffer.el index a8be324..98fd548 100644 --- a/emacs/.emacs.d/lisp/my/my-buffer.el +++ b/emacs/.emacs.d/lisp/my/my-buffer.el @@ -284,6 +284,9 @@ that point." (* (face-attribute 'default :height frame) (expt 1.05 steps)))))) +(defun my-select-new-frame () + (select-frame (make-frame))) + (defun my-decrease-default-face-height (&optional steps) "Decrease the height of the default face by STEPS steps. Each step divides the height by 1.2; a negative number of steps |