diff options
author | Chong Yidong <cyd@gnu.org> | 2012-04-27 13:40:46 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-04-27 13:40:46 +0800 |
commit | 15cd8efd049338ec4a42ba00e96d2baf2c3cc51a (patch) | |
tree | 53a9ec557ed6c37b2a0e60abc1bf46d349df7554 /lisp/term/w32-win.el | |
parent | a8e7d6d783219972c08fd49a3a2afaf26eb139c2 (diff) | |
download | emacs-15cd8efd049338ec4a42ba00e96d2baf2c3cc51a.tar.gz emacs-15cd8efd049338ec4a42ba00e96d2baf2c3cc51a.tar.bz2 emacs-15cd8efd049338ec4a42ba00e96d2baf2c3cc51a.zip |
Fix application of menu-bar-mode etc. by X resources.
* lisp/startup.el (x-apply-session-resources): New function.
* lisp/term/ns-win.el (ns-initialize-window-system):
* lisp/term/w32-win.el (w32-initialize-window-system):
* lisp/term/x-win.el (x-initialize-window-system): Use it to properly
set menu-bar-mode and other vars from X resources, even if the initial
frame is not a window-system frame (Bug#2299).
Diffstat (limited to 'lisp/term/w32-win.el')
-rw-r--r-- | lisp/term/w32-win.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el index 3e1c4161667..a4fac3441db 100644 --- a/lisp/term/w32-win.el +++ b/lisp/term/w32-win.el @@ -309,6 +309,7 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.") ;; Set to a system sound if you want a fancy bell. (set-message-beep 'ok) + (x-apply-session-resources) (setq w32-initialized t)) (add-to-list 'handle-args-function-alist '(w32 . x-handle-args)) |