Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
218:c9f226976f56 | 219:262b8bb4a523 |
---|---|
41 (setq mswindows-win-initted t))) | 41 (setq mswindows-win-initted t))) |
42 | 42 |
43 (defun init-post-mswindows-win (console) | 43 (defun init-post-mswindows-win (console) |
44 "Initialize mswindows GUI at startup (post). Don't call this." | 44 "Initialize mswindows GUI at startup (post). Don't call this." |
45 (unless mswindows-post-win-initted | 45 (unless mswindows-post-win-initted |
46 ;; XXX Add zmacs region hooks here ? | |
47 | |
48 ;; Old-style mswindows bindings. The new-style mswindows bindings | |
49 ;; (namely Ctrl-X, Ctrl-C and Ctrl-V) are already spoken for by XEmacs. | |
50 (define-key global-map '(shift delete) 'mswindows-cut-region) | |
51 ; (define-key global-map '(control delete) 'mswindows-delete-region) | |
52 (define-key global-map '(shift insert) 'mswindows-paste-region) | |
53 (define-key global-map '(control insert) 'mswindows-copy-region) | |
54 | |
55 ;; Other mswindows style-compliant keys | |
56 (define-key global-map '(control z) 'undo) | |
57 | |
58 ;; Other mswindows style-compliant keys | |
59 (define-key global-map '(control z) 'undo) | |
60 | |
61 ;; Random stuff | |
62 (define-key global-map 'menu 'popup-mode-menu) | |
63 | |
46 (setq mswindows-post-win-initted t))) | 64 (setq mswindows-post-win-initted t))) |
47 | 65 |