diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2004-05-03 23:17:41 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2004-05-03 23:17:41 +0000 |
commit | 8eae13fde90fd759ecc3b857e9dbe2f0d5abfaf5 (patch) | |
tree | d91a9d7c83c05adac8aba039953b99b6672ffc7c /lisp/winner.el | |
parent | 8bf38a9bfef78cbfe65762db736188cfaa99dbd7 (diff) | |
download | emacs-8eae13fde90fd759ecc3b857e9dbe2f0d5abfaf5.tar.gz |
(winner-mode-map): Move winner-undo and winner-redo to C-c <left> and C-c
<right>, respectively (the previous bindings conflict with next-buffer,
prev-buffer).
Diffstat (limited to 'lisp/winner.el')
-rw-r--r-- | lisp/winner.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/winner.el b/lisp/winner.el index aaca331e7b3..e5b48889156 100644 --- a/lisp/winner.el +++ b/lisp/winner.el @@ -1,6 +1,6 @@ ;;; winner.el --- Restore old window configurations -;; Copyright (C) 1997, 1998, 2001 Free Software Foundation. Inc. +;; Copyright (C) 1997, 1998, 2001, 2004 Free Software Foundation. Inc. ;; Author: Ivar Rummelhoff <ivarru@math.uio.no> ;; Created: 27 Feb 1997 @@ -30,8 +30,8 @@ ;; window configuration (i.e. how the frames are partitioned into ;; windows) so that the changes can be "undone" using the command ;; `winner-undo'. By default this one is bound to the key sequence -;; ctrl-x left. If you change your mind (while undoing), you can -;; press ctrl-x right (calling `winner-redo'). Even though it uses +;; ctrl-c left. If you change your mind (while undoing), you can +;; press ctrl-c right (calling `winner-redo'). Even though it uses ;; some features of Emacs20.3, winner.el should also work with ;; Emacs19.34 and XEmacs20, provided that the installed version of ;; custom is not obsolete. @@ -474,8 +474,8 @@ In other words, \"undo\" changes in window configuration." (unless winner-mode-map (setq winner-mode-map (make-sparse-keymap)) - (define-key winner-mode-map [(control x) left] 'winner-undo) - (define-key winner-mode-map [(control x) right] 'winner-redo)) + (define-key winner-mode-map [(control c) left] 'winner-undo) + (define-key winner-mode-map [(control c) right] 'winner-redo)) (unless (or (assq 'winner-mode minor-mode-map-alist) winner-dont-bind-my-keys) |