]> git.eshelyaron.com Git - emacs.git/commitdiff
(math-format-stack-value): Revert a broken
authorDavid Kastrup <dak@gnu.org>
Mon, 5 Aug 2002 09:34:12 +0000 (09:34 +0000)
committerDavid Kastrup <dak@gnu.org>
Mon, 5 Aug 2002 09:34:12 +0000 (09:34 +0000)
if->when replacement and reformat so that this does not happen
again.  Fixes a pretty lethal line formatting/yanking bug.

lisp/calc/calc.el

index 1ed448d177fc13e634b178a6b7b0f9d0d665ac07..09614aa1faf5e6e73f742cbe97960ddcf1d4c391 100644 (file)
@@ -2997,8 +2997,9 @@ If mouse is pressed in Calc window, push cut buffer contents onto the stack."
                                  c)))
     (when calc-line-numbering
       (setq c (math-comp-concat (if (eq calc-language 'big)
-                                   (when math-comp-selected
-                                     '(tag t "1:  ") "1:  ")
+                                   (if math-comp-selected
+                                       '(tag t "1:  ")
+                                     "1:  ")
                                  "    ")
                                c)))
     (unless (or (equal calc-right-label "")