Mercurial > hg > xemacs-beta
diff lisp/msw-init.el @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | 2f8bb876ab1d |
children |
line wrap: on
line diff
--- a/lisp/msw-init.el Mon Aug 13 11:19:22 2007 +0200 +++ b/lisp/msw-init.el Mon Aug 13 11:20:41 2007 +0200 @@ -47,7 +47,6 @@ (if (featurep 'infodock) (require 'id-x-toolbar) (init-x-toolbar))) - (if (featurep 'gutter) (init-gutter)) (add-hook 'zmacs-deactivate-region-hook (lambda () (if (console-on-window-system-p) @@ -62,15 +61,13 @@ (activate-region-as-selection)))) ;; Old-style mswindows bindings. The new-style mswindows bindings ;; (namely Ctrl-X, Ctrl-C and Ctrl-V) are already spoken for by XEmacs. - (global-set-key '(shift delete) 'kill-primary-selection) - (global-set-key '(control delete) 'delete-primary-selection) - (global-set-key '(shift insert) 'yank-clipboard-selection) - (global-set-key '(control insert) 'copy-primary-selection) - - (global-set-key '(meta f4) 'save-buffers-kill-emacs) + (define-key global-map '(shift delete) 'kill-primary-selection) + (define-key global-map '(control delete) 'delete-primary-selection) + (define-key global-map '(shift insert) 'yank-clipboard-selection) + (define-key global-map '(control insert) 'copy-primary-selection) ;; Random stuff - (global-set-key 'menu 'popup-mode-menu) + (define-key global-map 'menu 'popup-mode-menu) (setq mswindows-post-win-initted t)))