diff options
| -rw-r--r-- | lisp/menu-bar.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 068a8956f87..cf0f3b174d5 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el | |||
| @@ -416,7 +416,7 @@ turn off menu bars; otherwise, turn on menu bars." | |||
| 416 | ;; Apply it to existing frames. | 416 | ;; Apply it to existing frames. |
| 417 | (let ((frames (frame-list))) | 417 | (let ((frames (frame-list))) |
| 418 | (while frames | 418 | (while frames |
| 419 | (let ((height (cdr (assq 'height (frame-parameters (selected-frame)))))) | 419 | (let ((height (cdr (assq 'height (frame-parameters (car frames)))))) |
| 420 | (modify-frame-parameters (car frames) | 420 | (modify-frame-parameters (car frames) |
| 421 | (list (cons 'menu-bar-lines | 421 | (list (cons 'menu-bar-lines |
| 422 | (if menu-bar-mode 1 0)))) | 422 | (if menu-bar-mode 1 0)))) |