diff options
| author | Kenichi Handa | 2010-08-25 17:15:45 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-08-25 17:15:45 +0900 |
| commit | 2c94aa8db66ef9aa07b824b8cf1f88ce5164832d (patch) | |
| tree | 798354216c1021d99a48189fc1889aa5f058f67e | |
| parent | 38cc06d9c47e11c8cddfa39c3e09c18bc33071f3 (diff) | |
| parent | a0c16be48f9f2678e766ce31b0b47f99ce893568 (diff) | |
| download | emacs-2c94aa8db66ef9aa07b824b8cf1f88ce5164832d.tar.gz emacs-2c94aa8db66ef9aa07b824b8cf1f88ce5164832d.zip | |
merge trunk
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/menu-bar.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 868667e4103..83d93e9b5ef 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -6,6 +6,11 @@ | |||
| 6 | * international/fontset.el (setup-default-fontset): Fix typo for | 6 | * international/fontset.el (setup-default-fontset): Fix typo for |
| 7 | arabic OTF spec (fini->fina). | 7 | arabic OTF spec (fini->fina). |
| 8 | 8 | ||
| 9 | 2010-08-25 Jan Djärv <jan.h.d@swipnet.se> | ||
| 10 | |||
| 11 | * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter | ||
| 12 | on all frames. | ||
| 13 | |||
| 9 | 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br> | 14 | 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 10 | 15 | ||
| 11 | * whitespace.el: Allow cleaning up blanks without blank | 16 | * whitespace.el: Allow cleaning up blanks without blank |
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")) | |||
| 970 | 970 | ||
| 971 | (defun menu-bar-set-tool-bar-position (position) | 971 | (defun menu-bar-set-tool-bar-position (position) |
| 972 | (customize-set-variable 'tool-bar-mode t) | 972 | (customize-set-variable 'tool-bar-mode t) |
| 973 | (set-frame-parameter nil 'tool-bar-position position) | 973 | (dolist (frame (frame-list)) |
| 974 | (set-frame-parameter frame 'tool-bar-position position)) | ||
| 974 | (customize-set-variable 'default-frame-alist | 975 | (customize-set-variable 'default-frame-alist |
| 975 | (cons (cons 'tool-bar-position position) | 976 | (cons (cons 'tool-bar-position position) |
| 976 | (assq-delete-all 'tool-bar-position | 977 | (assq-delete-all 'tool-bar-position |