aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/calc/calc-sel.el
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2001-11-13 07:30:58 +0000
committerEli Zaretskii <[email protected]>2001-11-13 07:30:58 +0000
commit8f66f4797a757f44fda1ad9ca3a59f8b285d26d9 (patch)
tree65d6f75137874d8e0eba5bd41c3b8d33a938bee9 /lisp/calc/calc-sel.el
parent26f6427dc85018dc734a34d6387a0b4ebdd3d9e4 (diff)
Use `frame-width' instead of `screen-width',
`frame-height' instead of `screen-height', and, `executing-kbd-macro' instead of `executing-macro'.
Diffstat (limited to 'lisp/calc/calc-sel.el')
-rw-r--r--lisp/calc/calc-sel.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/calc/calc-sel.el b/lisp/calc/calc-sel.el
index ab7a3879f1..16e7fe9cc9 100644
--- a/lisp/calc/calc-sel.el
+++ b/lisp/calc/calc-sel.el
@@ -1,5 +1,5 @@
;; Calculator for GNU Emacs, part II [calc-sel.el]
-;; Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
+;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc.
;; Written by Dave Gillespie, [email protected].
;; This file is part of GNU Emacs.
@@ -672,7 +672,7 @@
(sel (or (calc-auto-selection entry) expr))
alg)
(let ((str (math-showing-full-precision
- (math-format-nice-expr sel (screen-width)))))
+ (math-format-nice-expr sel (frame-width)))))
(calc-edit-mode (list 'calc-finish-selection-edit
num (list 'quote sel) reselect))
(insert str "\n"))))