aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2004-05-03 23:17:41 +0000
committerJuanma Barranquero2004-05-03 23:17:41 +0000
commit8eae13fde90fd759ecc3b857e9dbe2f0d5abfaf5 (patch)
treed91a9d7c83c05adac8aba039953b99b6672ffc7c
parent8bf38a9bfef78cbfe65762db736188cfaa99dbd7 (diff)
downloademacs-8eae13fde90fd759ecc3b857e9dbe2f0d5abfaf5.tar.gz
emacs-8eae13fde90fd759ecc3b857e9dbe2f0d5abfaf5.zip
(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).
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/winner.el10
2 files changed, 15 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 157b5416eaa..c05df552aa5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
12004-05-04 Juanma Barranquero <lektu@terra.es>
2
3 * winner.el (winner-mode-map): Move winner-undo and winner-redo to
4 C-c <left> and C-c <right>, respectively (the previous bindings
5 conflict with prev-buffer, next-buffer).
6
7 * ehelp.el (electric-help-command-loop, electric-help-undefined)
8 (electric-help-help): Check against unmapped commands.
9
12004-05-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> 102004-05-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2 11
3 * textmodes/bibtex.el (bibtex-progress-message): Fix docstring. 12 * textmodes/bibtex.el (bibtex-progress-message): Fix docstring.
@@ -56,7 +65,7 @@
56 65
572004-05-02 Stefan Monnier <monnier@iro.umontreal.ca> 662004-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
58 67
59 * progmodes/compile.el (compilation-gcpro): New var 68 * progmodes/compile.el (compilation-gcpro): New var.
60 (compilation-fake-loc): Use it. 69 (compilation-fake-loc): Use it.
61 (compilation-forget-errors): Reset it. 70 (compilation-forget-errors): Reset it.
62 71
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 @@
1;;; winner.el --- Restore old window configurations 1;;; winner.el --- Restore old window configurations
2 2
3;; Copyright (C) 1997, 1998, 2001 Free Software Foundation. Inc. 3;; Copyright (C) 1997, 1998, 2001, 2004 Free Software Foundation. Inc.
4 4
5;; Author: Ivar Rummelhoff <ivarru@math.uio.no> 5;; Author: Ivar Rummelhoff <ivarru@math.uio.no>
6;; Created: 27 Feb 1997 6;; Created: 27 Feb 1997
@@ -30,8 +30,8 @@
30;; window configuration (i.e. how the frames are partitioned into 30;; window configuration (i.e. how the frames are partitioned into
31;; windows) so that the changes can be "undone" using the command 31;; windows) so that the changes can be "undone" using the command
32;; `winner-undo'. By default this one is bound to the key sequence 32;; `winner-undo'. By default this one is bound to the key sequence
33;; ctrl-x left. If you change your mind (while undoing), you can 33;; ctrl-c left. If you change your mind (while undoing), you can
34;; press ctrl-x right (calling `winner-redo'). Even though it uses 34;; press ctrl-c right (calling `winner-redo'). Even though it uses
35;; some features of Emacs20.3, winner.el should also work with 35;; some features of Emacs20.3, winner.el should also work with
36;; Emacs19.34 and XEmacs20, provided that the installed version of 36;; Emacs19.34 and XEmacs20, provided that the installed version of
37;; custom is not obsolete. 37;; custom is not obsolete.
@@ -474,8 +474,8 @@ In other words, \"undo\" changes in window configuration."
474 474
475(unless winner-mode-map 475(unless winner-mode-map
476 (setq winner-mode-map (make-sparse-keymap)) 476 (setq winner-mode-map (make-sparse-keymap))
477 (define-key winner-mode-map [(control x) left] 'winner-undo) 477 (define-key winner-mode-map [(control c) left] 'winner-undo)
478 (define-key winner-mode-map [(control x) right] 'winner-redo)) 478 (define-key winner-mode-map [(control c) right] 'winner-redo))
479 479
480(unless (or (assq 'winner-mode minor-mode-map-alist) 480(unless (or (assq 'winner-mode minor-mode-map-alist)
481 winner-dont-bind-my-keys) 481 winner-dont-bind-my-keys)