# HG changeset patch # User Gerd Moellmann # Date 1002877529 0 # Node ID 6564021e098e98cdec28330fcb457d282344529f # Parent 503b25e023a53819faa4c984f65b6b0b6f7679e0 (calculator-eng-display): Don't call concat with an integer argument. diff -r 503b25e023a5 -r 6564021e098e lisp/calculator.el --- a/lisp/calculator.el Fri Oct 12 08:29:44 2001 +0000 +++ b/lisp/calculator.el Fri Oct 12 09:05:29 2001 +0000 @@ -4,7 +4,7 @@ ;; Author: Eli Barzilay ;; Keywords: tools, convenience -;; Time-stamp: <2001-09-23 02:24:35 eli> +;; Time-stamp: <2001-10-11 16:18:29 eli> ;; This file is part of GNU Emacs. @@ -988,7 +988,9 @@ (setq num (/ num 1000.0)) (setq exp (+ exp 3)) (setq i (1+ i))))))) (or calculator-eng-tmp-show (setq calculator-eng-extra nil)) - (let ((str (format (concat "%." calculator-number-digits "f") + (let ((str (format (concat "%." (number-to-string + calculator-number-digits) + "f") num))) (concat (let ((calculator-remove-zeros ;; make sure we don't leave integers