Changeset 4148 for trunk/lisp/term/x-win.el
- Timestamp:
- 2006年08月18日 08時35分31秒 (2 years ago)
- Files:
-
- trunk/lisp/term/x-win.el (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/term/x-win.el
r4111 r4148 2506 2506 (defun x-clipboard-yank () 2507 2507 "Insert the clipboard contents, or the last stretch of killed text." 2508 (interactive )2508 (interactive "*") 2509 2509 (let ((clipboard-text (x-selection-value 'CLIPBOARD)) 2510 2510 (x-select-enable-clipboard t)) … … 2514 2514 2515 2515 (define-key menu-bar-edit-menu [paste] 2516 (cons "Paste" (cons "Paste text from clipboard or kill ring" 2517 'x-clipboard-yank))) 2516 '(menu-item "Paste" x-clipboard-yank 2517 :enable (not buffer-read-only) 2518 :help "Paste (yank) text most recently cut/copied")) 2518 2519 2519 2520 ;; Initiate drag and drop 2520 2521 (add-hook 'after-make-frame-functions 'x-dnd-init-frame) 2521 ( global-set-key[drag-n-drop] 'x-dnd-handle-drag-n-drop-event)2522 (define-key special-event-map [drag-n-drop] 'x-dnd-handle-drag-n-drop-event) 2522 2523 2523 2524 ;; Let F10 do menu bar navigation.
