# HG changeset patch # User Kim F. Storm # Date 1113902752 0 # Node ID 74f1c2b96d14328c48181a6033ee980d1771391f # Parent 9a27f4097b8f9dca124d84c70cfefc7ff05405c8 (next-buffer, prev-buffer, next-error) (scroll-other-window, keyboard-quit, keyboard-escape-quit) (clone-indirect-buffer-other-window): Move bindings to bindings.el. diff -r 9a27f4097b8f -r 74f1c2b96d14 lisp/simple.el --- a/lisp/simple.el Tue Apr 19 09:25:32 2005 +0000 +++ b/lisp/simple.el Tue Apr 19 09:25:52 2005 +0000 @@ -51,8 +51,6 @@ "Highlight (un)matching of parens and expressions." :group 'matching) -(define-key global-map [?\C-x right] 'next-buffer) -(define-key global-map [?\C-x left] 'prev-buffer) (defun next-buffer () "Switch to the next buffer in cyclic order." (interactive) @@ -258,8 +256,6 @@ (defalias 'goto-next-locus 'next-error) (defalias 'next-match 'next-error) -(define-key ctl-x-map "`" 'next-error) - (defun previous-error (&optional n) "Visit previous next-error message and corresponding source code. @@ -1398,9 +1394,6 @@ Contrary to `undo', this will not redo a previous undo." (interactive "*p") (let ((undo-no-redo t)) (undo arg))) -;; Richard said that we should not use C-x and I have -;; no idea whereas to bind it. Any suggestion welcome. -stef -;; (define-key ctl-x-map "U" 'undo-only) (defvar undo-in-progress nil "Non-nil while performing an undo. @@ -3631,7 +3624,6 @@ (if (eq lines '-) nil (if (null lines) '- (- (prefix-numeric-value lines)))))) -(define-key esc-map [?\C-\S-v] 'scroll-other-window-down) (defun beginning-of-buffer-other-window (arg) "Move point to the beginning of the buffer in the other window. @@ -4275,8 +4267,6 @@ (setq defining-kbd-macro nil) (signal 'quit nil)) -(define-key global-map "\C-g" 'keyboard-quit) - (defvar buffer-quit-function nil "Function to call to \"quit\" the current buffer, or nil if none. \\[keyboard-escape-quit] calls this function when its more local actions @@ -4319,7 +4309,6 @@ (push 'sound sound) (play-sound sound))) -(define-key global-map "\e\e\e" 'keyboard-escape-quit) (defcustom read-mail-command 'rmail "*Your preference for a mail reading package. @@ -5112,7 +5101,6 @@ (set-buffer buffer) (clone-indirect-buffer nil t norecord))) -(define-key ctl-x-4-map "c" 'clone-indirect-buffer-other-window) ;;; Handling of Backspace and Delete keys.