mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Use global-scale-mode on the selected frame only
This commit is contained in:
parent
01acfd669b
commit
f046f70e1d
2
init.org
2
init.org
@ -908,7 +908,7 @@
|
|||||||
(global-scale-internal (decf size 20)))
|
(global-scale-internal (decf size 20)))
|
||||||
|
|
||||||
(defun global-scale-internal (arg)
|
(defun global-scale-internal (arg)
|
||||||
(set-face-attribute 'default nil :height arg)
|
(set-face-attribute 'default (selected-frame) :height arg)
|
||||||
(set-temporary-overlay-map
|
(set-temporary-overlay-map
|
||||||
(let ((map (make-sparse-keymap)))
|
(let ((map (make-sparse-keymap)))
|
||||||
(define-key map (kbd "C-=") 'global-scale-up)
|
(define-key map (kbd "C-=") 'global-scale-up)
|
||||||
|
Loading…
Reference in New Issue
Block a user