aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/calc/calc.el
diff options
context:
space:
mode:
authorJay Belanger <[email protected]>2008-04-01 02:06:44 +0000
committerJay Belanger <[email protected]>2008-04-01 02:06:44 +0000
commit8fa92d84bdeb44ac970fb343b0a7317aa08f17a6 (patch)
tree58e39ef4748053ee93c1d38ae2b16cf587948f87 /lisp/calc/calc.el
parentb2b7f29e5eac23716a408be707c3bf592df12586 (diff)
Autoload `calc-yank'.
(calc-mode-map): Add keybindings for `calc-yank'.
Diffstat (limited to 'lisp/calc/calc.el')
-rw-r--r--lisp/calc/calc.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el
index e32ba8dda6..b9a64385f4 100644
--- a/lisp/calc/calc.el
+++ b/lisp/calc/calc.el
@@ -1031,6 +1031,8 @@ Used by `calc-user-invocation'.")
(define-key map "\C-m" 'calc-enter)
(define-key map "\M-\C-m" 'calc-last-args-stub)
(define-key map "\C-j" 'calc-over)
+ (define-key map "\C-y" 'calc-yank)
+ (define-key map [mouse-2] 'calc-yank)
(mapc (lambda (x) (define-key map (char-to-string x) 'undefined))
"lOW")
@@ -1182,7 +1184,9 @@ Used by `calc-user-invocation'.")
calc-missing-key calc-mod calc-other-window calc-over calc-percent
calc-pop-above calc-power calc-roll-down calc-roll-up
calc-shift-Y-prefix-help calc-tutorial calcDigit-letter
- report-calc-bug)))
+ report-calc-bug)
+
+ ("calc-yank" calc-yank)))
;;;###autoload (define-key ctl-x-map "*" 'calc-dispatch)