diff options
| author | Kim F. Storm | 2005-04-19 09:25:52 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2005-04-19 09:25:52 +0000 |
| commit | bfa82930a87f6d983628eaa6777b0d4a57432d86 (patch) | |
| tree | cf10919096c57bbf2606eab371bc6d7070425b8f | |
| parent | ad1cc3463c940d70a8c31c641a995ecaafc4d8bc (diff) | |
| download | emacs-bfa82930a87f6d983628eaa6777b0d4a57432d86.tar.gz emacs-bfa82930a87f6d983628eaa6777b0d4a57432d86.zip | |
(next-buffer, prev-buffer, next-error)
(scroll-other-window, keyboard-quit, keyboard-escape-quit)
(clone-indirect-buffer-other-window): Move bindings to bindings.el.
| -rw-r--r-- | lisp/simple.el | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 21a6cba0494..b595ff5b44b 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -51,8 +51,6 @@ wait this many seconds after Emacs becomes idle before doing an update." | |||
| 51 | "Highlight (un)matching of parens and expressions." | 51 | "Highlight (un)matching of parens and expressions." |
| 52 | :group 'matching) | 52 | :group 'matching) |
| 53 | 53 | ||
| 54 | (define-key global-map [?\C-x right] 'next-buffer) | ||
| 55 | (define-key global-map [?\C-x left] 'prev-buffer) | ||
| 56 | (defun next-buffer () | 54 | (defun next-buffer () |
| 57 | "Switch to the next buffer in cyclic order." | 55 | "Switch to the next buffer in cyclic order." |
| 58 | (interactive) | 56 | (interactive) |
| @@ -258,8 +256,6 @@ See variables `compilation-parse-errors-function' and | |||
| 258 | (defalias 'goto-next-locus 'next-error) | 256 | (defalias 'goto-next-locus 'next-error) |
| 259 | (defalias 'next-match 'next-error) | 257 | (defalias 'next-match 'next-error) |
| 260 | 258 | ||
| 261 | (define-key ctl-x-map "`" 'next-error) | ||
| 262 | |||
| 263 | (defun previous-error (&optional n) | 259 | (defun previous-error (&optional n) |
| 264 | "Visit previous next-error message and corresponding source code. | 260 | "Visit previous next-error message and corresponding source code. |
| 265 | 261 | ||
| @@ -1398,9 +1394,6 @@ A numeric argument serves as a repeat count. | |||
| 1398 | Contrary to `undo', this will not redo a previous undo." | 1394 | Contrary to `undo', this will not redo a previous undo." |
| 1399 | (interactive "*p") | 1395 | (interactive "*p") |
| 1400 | (let ((undo-no-redo t)) (undo arg))) | 1396 | (let ((undo-no-redo t)) (undo arg))) |
| 1401 | ;; Richard said that we should not use C-x <uppercase letter> and I have | ||
| 1402 | ;; no idea whereas to bind it. Any suggestion welcome. -stef | ||
| 1403 | ;; (define-key ctl-x-map "U" 'undo-only) | ||
| 1404 | 1397 | ||
| 1405 | (defvar undo-in-progress nil | 1398 | (defvar undo-in-progress nil |
| 1406 | "Non-nil while performing an undo. | 1399 | "Non-nil while performing an undo. |
| @@ -3631,7 +3624,6 @@ For more details, see the documentation for `scroll-other-window'." | |||
| 3631 | (if (eq lines '-) nil | 3624 | (if (eq lines '-) nil |
| 3632 | (if (null lines) '- | 3625 | (if (null lines) '- |
| 3633 | (- (prefix-numeric-value lines)))))) | 3626 | (- (prefix-numeric-value lines)))))) |
| 3634 | (define-key esc-map [?\C-\S-v] 'scroll-other-window-down) | ||
| 3635 | 3627 | ||
| 3636 | (defun beginning-of-buffer-other-window (arg) | 3628 | (defun beginning-of-buffer-other-window (arg) |
| 3637 | "Move point to the beginning of the buffer in the other window. | 3629 | "Move point to the beginning of the buffer in the other window. |
| @@ -4275,8 +4267,6 @@ At top-level, as an editor command, this simply beeps." | |||
| 4275 | (setq defining-kbd-macro nil) | 4267 | (setq defining-kbd-macro nil) |
| 4276 | (signal 'quit nil)) | 4268 | (signal 'quit nil)) |
| 4277 | 4269 | ||
| 4278 | (define-key global-map "\C-g" 'keyboard-quit) | ||
| 4279 | |||
| 4280 | (defvar buffer-quit-function nil | 4270 | (defvar buffer-quit-function nil |
| 4281 | "Function to call to \"quit\" the current buffer, or nil if none. | 4271 | "Function to call to \"quit\" the current buffer, or nil if none. |
| 4282 | \\[keyboard-escape-quit] calls this function when its more local actions | 4272 | \\[keyboard-escape-quit] calls this function when its more local actions |
| @@ -4319,7 +4309,6 @@ specification for `play-sound'." | |||
| 4319 | (push 'sound sound) | 4309 | (push 'sound sound) |
| 4320 | (play-sound sound))) | 4310 | (play-sound sound))) |
| 4321 | 4311 | ||
| 4322 | (define-key global-map "\e\e\e" 'keyboard-escape-quit) | ||
| 4323 | 4312 | ||
| 4324 | (defcustom read-mail-command 'rmail | 4313 | (defcustom read-mail-command 'rmail |
| 4325 | "*Your preference for a mail reading package. | 4314 | "*Your preference for a mail reading package. |
| @@ -5112,7 +5101,6 @@ the front of the list of recently selected ones." | |||
| 5112 | (set-buffer buffer) | 5101 | (set-buffer buffer) |
| 5113 | (clone-indirect-buffer nil t norecord))) | 5102 | (clone-indirect-buffer nil t norecord))) |
| 5114 | 5103 | ||
| 5115 | (define-key ctl-x-4-map "c" 'clone-indirect-buffer-other-window) | ||
| 5116 | 5104 | ||
| 5117 | ;;; Handling of Backspace and Delete keys. | 5105 | ;;; Handling of Backspace and Delete keys. |
| 5118 | 5106 | ||