diff options
author | Jan D <jan.h.d@swipnet.se> | 2010-08-25 08:53:55 +0200 |
---|---|---|
committer | Jan D <jan.h.d@swipnet.se> | 2010-08-25 08:53:55 +0200 |
commit | a0c16be48f9f2678e766ce31b0b47f99ce893568 (patch) | |
tree | c77c150a8087bad5405ac03c550a6f16afbacd61 /lisp/menu-bar.el | |
parent | 9bbaf4b01d0c95215fca22d2808ed0dd5466cae1 (diff) | |
download | emacs-a0c16be48f9f2678e766ce31b0b47f99ce893568.tar.gz |
* menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter on all frames.
Diffstat (limited to 'lisp/menu-bar.el')
-rw-r--r-- | lisp/menu-bar.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index ed5c189252b..98cb061cccb 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -970,7 +970,8 @@ mail status in mode line")) (defun menu-bar-set-tool-bar-position (position) (customize-set-variable 'tool-bar-mode t) - (set-frame-parameter nil 'tool-bar-position position) + (dolist (frame (frame-list)) + (set-frame-parameter frame 'tool-bar-position position)) (customize-set-variable 'default-frame-alist (cons (cons 'tool-bar-position position) (assq-delete-all 'tool-bar-position |