mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Slight cleanup in calc-yank
* lisp/calc/calc-yank.el (calc-yank): Remove compat code.
This commit is contained in:
parent
ccb5556b44
commit
672bfdb9c9
1 changed files with 1 additions and 3 deletions
|
|
@ -244,9 +244,7 @@ If RADIX is nil or if the yanked string already has a calc radix prefix, the
|
|||
yanked string will be passed on directly to the Calculator buffer without any
|
||||
alteration."
|
||||
(interactive "P")
|
||||
(calc-yank-internal radix (if (fboundp 'current-kill)
|
||||
(current-kill 0 t)
|
||||
(car kill-ring-yank-pointer))))
|
||||
(calc-yank-internal radix (current-kill 0 t)))
|
||||
|
||||
;;; The Calc set- and get-register commands are modified versions of functions
|
||||
;;; in register.el
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue