Commit 0a18efee authored by Jay Belanger's avatar Jay Belanger
Browse files

(calc-embedded-find-bounds): Set formula bound on line with formula.

parent d4d66807
......@@ -417,6 +417,8 @@ With any prefix argument, marks only the formula itself."
(forward-char -1))
(setq calc-embed-outer-top (point))
(goto-char (match-end 0))
(if (looking-at "[ \t]*$")
(if (eq (following-char) ?\n)
(forward-char 1))
(or (bolp)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment