aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Belanger2008-04-01 02:06:44 +0000
committerJay Belanger2008-04-01 02:06:44 +0000
commit8fa92d84bdeb44ac970fb343b0a7317aa08f17a6 (patch)
tree58e39ef4748053ee93c1d38ae2b16cf587948f87
parentb2b7f29e5eac23716a408be707c3bf592df12586 (diff)
downloademacs-8fa92d84bdeb44ac970fb343b0a7317aa08f17a6.tar.gz
emacs-8fa92d84bdeb44ac970fb343b0a7317aa08f17a6.zip
Autoload `calc-yank'.
(calc-mode-map): Add keybindings for `calc-yank'.
-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 e32ba8dda66..b9a64385f41 100644
--- a/lisp/calc/calc.el
+++ b/lisp/calc/calc.el
@@ -1031,6 +1031,8 @@ Used by `calc-user-invocation'.")
1031 (define-key map "\C-m" 'calc-enter) 1031 (define-key map "\C-m" 'calc-enter)
1032 (define-key map "\M-\C-m" 'calc-last-args-stub) 1032 (define-key map "\M-\C-m" 'calc-last-args-stub)
1033 (define-key map "\C-j" 'calc-over) 1033 (define-key map "\C-j" 'calc-over)
1034 (define-key map "\C-y" 'calc-yank)
1035 (define-key map [mouse-2] 'calc-yank)
1034 1036
1035 (mapc (lambda (x) (define-key map (char-to-string x) 'undefined)) 1037 (mapc (lambda (x) (define-key map (char-to-string x) 'undefined))
1036 "lOW") 1038 "lOW")
@@ -1182,7 +1184,9 @@ Used by `calc-user-invocation'.")
1182 calc-missing-key calc-mod calc-other-window calc-over calc-percent 1184 calc-missing-key calc-mod calc-other-window calc-over calc-percent
1183 calc-pop-above calc-power calc-roll-down calc-roll-up 1185 calc-pop-above calc-power calc-roll-down calc-roll-up
1184 calc-shift-Y-prefix-help calc-tutorial calcDigit-letter 1186 calc-shift-Y-prefix-help calc-tutorial calcDigit-letter
1185 report-calc-bug))) 1187 report-calc-bug)
1188
1189 ("calc-yank" calc-yank)))
1186 1190
1187 1191
1188;;;###autoload (define-key ctl-x-map "*" 'calc-dispatch) 1192;;;###autoload (define-key ctl-x-map "*" 'calc-dispatch)