From: Stefan Monnier Date: Mon, 15 Feb 2021 15:57:26 +0000 (-0500) Subject: * lisp/calc/calc-sel.el (calc-replace-sub-formula): Fix typo X-Git-Tag: emacs-28.0.90~3715 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=211731b3a94bf1380e4fb08d9f6ed65e9ed98b22;p=emacs.git * lisp/calc/calc-sel.el (calc-replace-sub-formula): Fix typo Reported by Sébastien Miquel --- diff --git a/lisp/calc/calc-sel.el b/lisp/calc/calc-sel.el index 2b317ac3696..18fd483bafe 100644 --- a/lisp/calc/calc-sel.el +++ b/lisp/calc/calc-sel.el @@ -486,8 +486,8 @@ (defun calc-replace-sub-formula (expr rsf-old rsf-new) (let ((calc-rsf-old rsf-old) - (calc-rsf-new (calc-encase-atoms rsf-new)))) - (calc-replace-sub-formula-rec expr)) + (calc-rsf-new (calc-encase-atoms rsf-new))) + (calc-replace-sub-formula-rec expr))) (defun calc-replace-sub-formula-rec (expr) (cond ((eq expr calc-rsf-old) calc-rsf-new)