diff options
| author | Dan Nicolaescu | 2007-08-31 15:39:18 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-08-31 15:39:18 +0000 |
| commit | 7c1bfeccb0d3c330fee1a3628784da157f5e75c2 (patch) | |
| tree | 126c478b9fdbf6052e6c404dc6d3a13217b9cab7 | |
| parent | 20f8ac737b3e00a8a03bc76591c68bb76c339a6e (diff) | |
| download | emacs-7c1bfeccb0d3c330fee1a3628784da157f5e75c2.tar.gz emacs-7c1bfeccb0d3c330fee1a3628784da157f5e75c2.zip | |
(x-menu-bar-open): Delete duplicated function from
the merge.
(global-set-key): Delete f10 mapping, now done in menu-bar.el.
(provide): Move to the end of file.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/term/x-win.el | 14 |
2 files changed, 7 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c63c019d5ab..84fca465933 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2007-08-31 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2007-08-31 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * term/x-win.el (x-menu-bar-open): Delete duplicated function from | ||
| 4 | the merge. | ||
| 5 | (global-set-key): Delete f10 mapping, now done in menu-bar.el. | ||
| 6 | (provide): Move to the end of file. | ||
| 7 | |||
| 3 | * vc-svn.el (vc-svn-diff-tree): Pass a list to vc-svn-diff. | 8 | * vc-svn.el (vc-svn-diff-tree): Pass a list to vc-svn-diff. |
| 4 | 9 | ||
| 5 | 2007-08-31 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 10 | 2007-08-31 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> |
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index de0d99ab3c0..bde34f4b0d1 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el | |||
| @@ -2561,22 +2561,10 @@ order until succeed.") | |||
| 2561 | (add-to-list 'frame-creation-function-alist '(x . x-create-frame-with-faces)) | 2561 | (add-to-list 'frame-creation-function-alist '(x . x-create-frame-with-faces)) |
| 2562 | (add-to-list 'window-system-initialization-alist '(x . x-initialize-window-system)) | 2562 | (add-to-list 'window-system-initialization-alist '(x . x-initialize-window-system)) |
| 2563 | 2563 | ||
| 2564 | (provide 'x-win) | ||
| 2565 | |||
| 2566 | ;; Initiate drag and drop | 2564 | ;; Initiate drag and drop |
| 2567 | (add-hook 'after-make-frame-functions 'x-dnd-init-frame) | 2565 | (add-hook 'after-make-frame-functions 'x-dnd-init-frame) |
| 2568 | (define-key special-event-map [drag-n-drop] 'x-dnd-handle-drag-n-drop-event) | 2566 | (define-key special-event-map [drag-n-drop] 'x-dnd-handle-drag-n-drop-event) |
| 2569 | 2567 | ||
| 2570 | ;; Let F10 do menu bar navigation. | ||
| 2571 | (defun x-menu-bar-open (&optional frame) | ||
| 2572 | "Open the menu bar if `menu-bar-mode' is on. otherwise call `tmm-menubar'." | ||
| 2573 | (interactive "i") | ||
| 2574 | (if menu-bar-mode (menu-bar-open frame) | ||
| 2575 | (tmm-menubar))) | ||
| 2576 | |||
| 2577 | (and (fboundp 'menu-bar-open) | ||
| 2578 | (global-set-key [f10] 'x-menu-bar-open)) | ||
| 2579 | |||
| 2580 | (defcustom x-gtk-stock-map | 2568 | (defcustom x-gtk-stock-map |
| 2581 | '( | 2569 | '( |
| 2582 | ("etc/images/new" . "gtk-new") | 2570 | ("etc/images/new" . "gtk-new") |
| @@ -2614,5 +2602,7 @@ Emacs must be compiled with the Gtk+ toolkit for this to have any effect." | |||
| 2614 | (value (assoc-string (or key file-sans) x-gtk-stock-map))) | 2602 | (value (assoc-string (or key file-sans) x-gtk-stock-map))) |
| 2615 | (and value (cdr value)))) | 2603 | (and value (cdr value)))) |
| 2616 | 2604 | ||
| 2605 | (provide 'x-win) | ||
| 2606 | |||
| 2617 | ;; arch-tag: f1501302-db8b-4d95-88e3-116697d89f78 | 2607 | ;; arch-tag: f1501302-db8b-4d95-88e3-116697d89f78 |
| 2618 | ;;; x-win.el ends here | 2608 | ;;; x-win.el ends here |