1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-31 11:13:50 +00:00

(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).
This commit is contained in:
Juanma Barranquero 2004-05-03 23:17:41 +00:00
parent 8bf38a9bfe
commit 8eae13fde9
2 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,12 @@
2004-05-04 Juanma Barranquero <lektu@terra.es>
* winner.el (winner-mode-map): Move winner-undo and winner-redo to
C-c <left> and C-c <right>, respectively (the previous bindings
conflict with prev-buffer, next-buffer).
* ehelp.el (electric-help-command-loop, electric-help-undefined)
(electric-help-help): Check against unmapped commands.
2004-05-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
* textmodes/bibtex.el (bibtex-progress-message): Fix docstring.
@ -56,7 +65,7 @@
2004-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/compile.el (compilation-gcpro): New var
* progmodes/compile.el (compilation-gcpro): New var.
(compilation-fake-loc): Use it.
(compilation-forget-errors): Reset it.

View File

@ -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)