Mercurial > hg > xemacs-beta
diff lisp/msw-init.el @ 219:262b8bb4a523 r20-4b8
Import from CVS: tag r20-4b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:09:35 +0200 |
parents | 78f53ef88e17 |
children | 6c0ae1f9357f |
line wrap: on
line diff
--- a/lisp/msw-init.el Mon Aug 13 10:08:36 2007 +0200 +++ b/lisp/msw-init.el Mon Aug 13 10:09:35 2007 +0200 @@ -43,5 +43,23 @@ (defun init-post-mswindows-win (console) "Initialize mswindows GUI at startup (post). Don't call this." (unless mswindows-post-win-initted + ;; XXX Add zmacs region hooks here ? + + ;; Old-style mswindows bindings. The new-style mswindows bindings + ;; (namely Ctrl-X, Ctrl-C and Ctrl-V) are already spoken for by XEmacs. + (define-key global-map '(shift delete) 'mswindows-cut-region) + ; (define-key global-map '(control delete) 'mswindows-delete-region) + (define-key global-map '(shift insert) 'mswindows-paste-region) + (define-key global-map '(control insert) 'mswindows-copy-region) + + ;; Other mswindows style-compliant keys + (define-key global-map '(control z) 'undo) + + ;; Other mswindows style-compliant keys + (define-key global-map '(control z) 'undo) + + ;; Random stuff + (define-key global-map 'menu 'popup-mode-menu) + (setq mswindows-post-win-initted t)))