comparison lisp/term/x-win.el @ 90602:b5c13d1564a9

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 437-446) - Update from CVS - lisp/url/url-methods.el: Fix format error when http_proxy is empty string - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 137-140) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-111
author Miles Bader <miles@gnu.org>
date Wed, 20 Sep 2006 06:04:23 +0000
parents 7f3f771c85fa 0f049b50713b
children 7eeafaaa9eab
comparison
equal deleted inserted replaced
90601:a1a25ac6c88a 90602:b5c13d1564a9
2499 ;; Initiate drag and drop 2499 ;; Initiate drag and drop
2500 (add-hook 'after-make-frame-functions 'x-dnd-init-frame) 2500 (add-hook 'after-make-frame-functions 'x-dnd-init-frame)
2501 (define-key special-event-map [drag-n-drop] 'x-dnd-handle-drag-n-drop-event) 2501 (define-key special-event-map [drag-n-drop] 'x-dnd-handle-drag-n-drop-event)
2502 2502
2503 ;; Let F10 do menu bar navigation. 2503 ;; Let F10 do menu bar navigation.
2504 (defun x-menu-bar-open (&optional frame)
2505 "Open the menu bar if `menu-bar-mode' is on. otherwise call `tmm-menubar'."
2506 (interactive "i")
2507 (if menu-bar-mode (menu-bar-open frame)
2508 (tmm-menubar)))
2509
2504 (and (fboundp 'menu-bar-open) 2510 (and (fboundp 'menu-bar-open)
2505 (global-set-key [f10] 'menu-bar-open)) 2511 (global-set-key [f10] 'x-menu-bar-open))
2506 2512
2507 ;; arch-tag: f1501302-db8b-4d95-88e3-116697d89f78 2513 ;; arch-tag: f1501302-db8b-4d95-88e3-116697d89f78
2508 ;;; x-win.el ends here 2514 ;;; x-win.el ends here