(define-key menu-bar-edit-menu [clear] '("Clear" . delete-region))
-(define-key menu-bar-edit-menu [paste] '("Paste Most Recent" . yank))
-
(defvar yank-menu (cons "Select Yank" nil))
(fset 'yank-menu (cons 'keymap yank-menu))
(define-key menu-bar-edit-menu [select-paste] '("Select and Paste" . yank-menu))
+(define-key menu-bar-edit-menu [paste] '("Paste" . yank))
(define-key menu-bar-edit-menu [copy] '("Copy" . menu-bar-kill-ring-save))
(define-key menu-bar-edit-menu [cut] '("Cut" . kill-region))
(define-key menu-bar-edit-menu [undo] '("Undo" . undo))
(defun menu-bar-kill-ring-save (beg end)
(interactive "r")
(if (mouse-region-match)
- (message "Select a region with the mouse does `copy' automatically")
+ (message "Selecting a region with the mouse does `copy' automatically")
(kill-ring-save beg end)))
(put 'fill-region 'menu-enable '(and mark-active (not buffer-read-only)))
"Toggle display of a menu bar on each frame.
This command applies to all frames that exist and frames to be
created in the future.
-With a numeric argument, if the argument is negative,
-turn off menu bars; otherwise, turn on menu bars."
+With a numeric argument, if the argument is positive,
+turn on menu bars; otherwise, turn off menu bars."
(interactive "P")
;; Make menu-bar-mode and default-frame-alist consistent.