aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2001-11-15 20:34:35 +0000
committerStefan Monnier2001-11-15 20:34:35 +0000
commit84932bf6ac9929ea7fd7de58c9b420f2156bd03c (patch)
tree6249dfe6ae5a7305b61b7d44aff530eeeea44407
parent16a2f75ab70c1640e7181f91693032b503197051 (diff)
downloademacs-84932bf6ac9929ea7fd7de58c9b420f2156bd03c.tar.gz
emacs-84932bf6ac9929ea7fd7de58c9b420f2156bd03c.zip
(menu-bar-edit-menu) <copy>: Put an explicit key binding.
-rw-r--r--lisp/ChangeLog14
-rw-r--r--lisp/menu-bar.el3
2 files changed, 11 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8cf3e4d16a6..78d33adce86 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12001-11-15 Stefan Monnier <monnier@cs.yale.edu>
2
3 * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
4
12001-11-15 Richard M. Stallman <rms@gnu.org> 52001-11-15 Richard M. Stallman <rms@gnu.org>
2 6
3 * dired.el (dired-undo): Display a message to explain 7 * dired.el (dired-undo): Display a message to explain
@@ -5,11 +9,11 @@
5 9
62001-11-15 David Kastrup <David.Kastrup@t-online.de> 102001-11-15 David Kastrup <David.Kastrup@t-online.de>
7 11
8 * mouse-drag.el: (mouse-drag-throw) Push back non-drag events 12 * mouse-drag.el (mouse-drag-throw): Push back non-drag events
9 into `unread-command-events' instead of trying keymap 13 into `unread-command-events' instead of trying keymap
10 lookups ourselves. This makes mouse-clicks do the right 14 lookups ourselves. This makes mouse-clicks do the right
11 thing even when keymaps of overlays are involved. 15 thing even when keymaps of overlays are involved.
12 (mouse-drag-drag) Likewise. 16 (mouse-drag-drag): Likewise.
13 17
142001-11-15 Andreas Schwab <schwab@suse.de> 182001-11-15 Andreas Schwab <schwab@suse.de>
15 19
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 5d169aaea2b..01efd3b6d68 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -407,7 +407,8 @@ A large number or nil slows down menu responsiveness."
407(define-key menu-bar-edit-menu [copy] 407(define-key menu-bar-edit-menu [copy]
408 '(menu-item "Copy" menu-bar-kill-ring-save 408 '(menu-item "Copy" menu-bar-kill-ring-save
409 :enable mark-active 409 :enable mark-active
410 :help "Copy text in region between mark and current position")) 410 :help "Copy text in region between mark and current position"
411 :keys "\\[kill-ring-save]"))
411(define-key menu-bar-edit-menu [cut] 412(define-key menu-bar-edit-menu [cut]
412 '(menu-item "Cut" kill-region 413 '(menu-item "Cut" kill-region
413 :enable (and mark-active (not buffer-read-only)) 414 :enable (and mark-active (not buffer-read-only))