# HG changeset patch # User Jay Belanger # Date 1107230228 0 # Node ID a4073cba09cbbbc998bc71a17f4910a3e5100181 # Parent 9128c1837a8591f06b5d1cb8b4e8fb9816cf6a32 (calc-embedded-find-bounds): Set formula bound on line with formula. diff -r 9128c1837a85 -r a4073cba09cb lisp/calc/calc-embed.el --- a/lisp/calc/calc-embed.el Mon Jan 31 23:32:36 2005 +0000 +++ b/lisp/calc/calc-embed.el Tue Feb 01 03:57:08 2005 +0000 @@ -417,6 +417,8 @@ (forward-char -1)) (setq calc-embed-outer-top (point)) (goto-char (match-end 0)) + (if (looking-at "[ \t]*$") + (end-of-line)) (if (eq (following-char) ?\n) (forward-char 1)) (or (bolp)