changeset 59840:a4073cba09cb

(calc-embedded-find-bounds): Set formula bound on line with formula.
author Jay Belanger <jay.p.belanger@gmail.com>
date Tue, 01 Feb 2005 03:57:08 +0000
parents 9128c1837a85
children 7afe7fbc198a
files lisp/calc/calc-embed.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)