diff options
author | Jim Blandy <jimb@redhat.com> | 1992-09-13 11:44:06 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-09-13 11:44:06 +0000 |
commit | 80095e64d243357f7e44853a80dbebd5b61ca471 (patch) | |
tree | d0ff56b5b11b341171ff135f0c0a9bc9e5ebe594 /lisp/mouse.el | |
parent | f8a2cfe1da5e6492a6a93442ca1bbce7a1f99b1f (diff) | |
download | emacs-80095e64d243357f7e44853a80dbebd5b61ca471.tar.gz |
entered into RCS
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r-- | lisp/mouse.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el index bc3f8c1744d..1297325186e 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -40,13 +40,13 @@ (defun mouse-delete-window (click) "Delete the window clicked on. This must be bound to a mouse click." - (interactive "K") + (interactive "e") (delete-window (event-window click))) (defun mouse-delete-other-windows (click) "Select Emacs window clicked on, then kill all other Emacs windows. This must be bound to a mouse click." - (interactive "K") + (interactive "e") (select-window (event-window click)) (delete-other-windows)) @@ -54,14 +54,14 @@ This must be bound to a mouse click." "Select Emacs window mouse is on, then split it vertically in half. The window is split at the line clicked on. This command must be bound to a mouse click." - (interactive "K") + (interactive "e") (select-window (event-window click)) (split-window-vertically (1+ (cdr (mouse-coords click))))) (defun mouse-set-point (click) "Move point to the position clicked on with the mouse. This must be bound to a mouse click." - (interactive "K") + (interactive "e") (select-window (event-window click)) (if (numberp (event-point click)) (goto-char (event-point click)))) @@ -70,7 +70,7 @@ This must be bound to a mouse click." "Set mark at the position clicked on with the mouse. Display cursor at that position for a second. This must be bound to a mouse click." - (interactive "K") + (interactive "e") (let ((point-save (point))) (unwind-protect (progn (mouse-set-point click) @@ -81,7 +81,7 @@ This must be bound to a mouse click." (defun mouse-kill (click) "Kill the region between point and the mouse click. The text is saved in the kill ring, as with \\[kill-region]." - (interactive "K") + (interactive "e") (let ((click-posn (event-point click))) (if (numberp click-posn) (kill-region (min (point) click-posn) @@ -90,20 +90,20 @@ The text is saved in the kill ring, as with \\[kill-region]." (defun mouse-yank-at-click (click arg) "Insert the last stretch of killed text at the position clicked on. Prefix arguments are interpreted as with \\[yank]." - (interactive "K\nP") + (interactive "e\nP") (mouse-set-point click) (yank arg)) (defun mouse-kill-ring-save (click) "Copy the region between point and the mouse click in the kill ring. This does not delete the region; it acts like \\[kill-ring-save]." - (interactive "K") + (interactive "e") (mouse-set-mark click) (call-interactively 'kill-ring-save)) (defun mouse-buffer-menu (event) "Pop up a menu of buffers for selection with the mouse." - (interactive "K") + (interactive "e") (let ((menu (list "Buffer Menu" (cons "Select Buffer" |