Use global-scale-mode on the selected frame only

This commit is contained in:
Lars Tveito 2016-04-06 01:12:55 +02:00
parent 01acfd669b
commit f046f70e1d

View File

@ -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)