summaryrefslogtreecommitdiff
path: root/lisp/calc/calc-ext.el
diff options
context:
space:
mode:
authorJay Belanger <jay.p.belanger@gmail.com>2004-11-09 04:49:01 +0000
committerJay Belanger <jay.p.belanger@gmail.com>2004-11-09 04:49:01 +0000
commit5f16f8be790080ed7c0892b85344c9d2ba716c20 (patch)
tree060f3b31c5051b93f40c3cbdb8ceed2e61a012c3 /lisp/calc/calc-ext.el
parentf55320b5c435a53b2a1dda4b0c485c324dacf740 (diff)
downloademacs-5f16f8be790080ed7c0892b85344c9d2ba716c20.tar.gz
(calc-init-extensions): Bound calc-yank to mouse-2.
Diffstat (limited to 'lisp/calc/calc-ext.el')
-rw-r--r--lisp/calc/calc-ext.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el
index 4679cf8abaa..214ad24834d 100644
--- a/lisp/calc/calc-ext.el
+++ b/lisp/calc/calc-ext.el
@@ -108,6 +108,7 @@
(define-key calc-mode-map "\C-w" 'calc-kill-region)
(define-key calc-mode-map "\M-w" 'calc-copy-region-as-kill)
(define-key calc-mode-map "\C-y" 'calc-yank)
+ (define-key calc-mode-map [mouse-2] 'calc-yank)
(define-key calc-mode-map "\C-_" 'calc-undo)
(define-key calc-mode-map "\C-xu" 'calc-undo)
(define-key calc-mode-map "\M-\C-m" 'calc-last-args)