Explorar o código

org-table.el (org-table-eval-formula): Fix variable name typo

York Zhao %!s(int64=10) %!d(string=hai) anos
pai
achega
12d5d5f775
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/org-table.el

+ 1 - 1
lisp/org-table.el

@@ -2767,7 +2767,7 @@ not overwrite the stored one."
 		      (string-match (regexp-quote formula) formrpl)))
 	    (user-error "Invalid field specifier \"%s\""
 			(match-string 0 form)))
-	  (setq form (replace-match repl t t form)))
+	  (setq form (replace-match formrpl t t form)))
 	
 	(if lispp
 	    (setq ev (condition-case nil