Commit 36942205 authored by Jan Djärv's avatar Jan Djärv
Browse files

* term/x-win.el (menu-bar-edit-menu): Disable paste if buffer is

read only.
parent e71cb549
2006-08-14 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* term/x-win.el (menu-bar-edit-menu): Disable paste if buffer is
read only.
2006-08-13 Romain Francoise <romain@orebokech.com>
 
* cus-theme.el (customize-create-theme)
......
......@@ -2513,8 +2513,9 @@ order until succeed.")
(yank)))
(define-key menu-bar-edit-menu [paste]
(cons "Paste" (cons "Paste text from clipboard or kill ring"
'x-clipboard-yank)))
'(menu-item "Paste" x-clipboard-yank
:enable (not buffer-read-only)
:help "Paste (yank) text most recently cut/copied"))
;; Initiate drag and drop
(add-hook 'after-make-frame-functions 'x-dnd-init-frame)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment