comparison lisp/term/x-win.el @ 2563:c8ae06bda9fa

(global-map): Remove function key bindings that duplicate stuff in loaddefs.el.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Fri, 23 Apr 1993 02:21:02 +0000
parents df7de9403e02
children 7fe45a326a98
comparison
equal deleted inserted replaced
2562:2715e893d220 2563:c8ae06bda9fa
423 (setq defined-colors (cons this-color defined-colors)))) 423 (setq defined-colors (cons this-color defined-colors))))
424 defined-colors)) 424 defined-colors))
425 425
426 ;;;; Function keys 426 ;;;; Function keys
427 427
428 ;;; Give some common function keys reasonable definitions.
429 (define-key global-map [home] 'beginning-of-line)
430 (define-key global-map [left] 'backward-char)
431 (define-key global-map [up] 'previous-line)
432 (define-key global-map [right] 'forward-char)
433 (define-key global-map [down] 'next-line)
434 (define-key global-map [prior] 'scroll-down)
435 (define-key global-map [next] 'scroll-up)
436 ;; We use a different symbol to prevent 428 ;; We use a different symbol to prevent
437 ;; doc strings from listing M-next as the preferred way to do this. 429 ;; doc strings from listing M-next as the preferred way to do this.
438 (fset 'advertised-scroll-other-window 'scroll-other-window) 430 (fset 'advertised-scroll-other-window 'scroll-other-window)
439 (define-key global-map [M-next] 'scroll-other-window) 431 (define-key global-map [M-next] 'scroll-other-window)
440 (define-key global-map [begin] 'beginning-of-buffer) 432 (define-key global-map [begin] 'beginning-of-buffer)
441 (define-key global-map [end] 'end-of-buffer)
442 433
443 (define-key global-map "\C-z" 'iconify-frame) 434 (define-key global-map "\C-z" 'iconify-frame)
444 435
445 ;; Map certain keypad keys into ASCII characters 436 ;; Map certain keypad keys into ASCII characters
446 ;; that people usually expect. 437 ;; that people usually expect.