aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Belanger2005-02-01 03:57:08 +0000
committerJay Belanger2005-02-01 03:57:08 +0000
commit0a18efee864b73dca2f1463a6c753cc33fc99e03 (patch)
treea00659f90da07156c0380cc2f0af28dc3673582f
parentd4d668071e1fd8f50d2c70e6b300cfd0d2fb0e3b (diff)
downloademacs-0a18efee864b73dca2f1463a6c753cc33fc99e03.tar.gz
emacs-0a18efee864b73dca2f1463a6c753cc33fc99e03.zip
(calc-embedded-find-bounds): Set formula bound on line with formula.
-rw-r--r--lisp/calc/calc-embed.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/calc/calc-embed.el b/lisp/calc/calc-embed.el
index 080d48f2062..4c6311c9a5b 100644
--- a/lisp/calc/calc-embed.el
+++ b/lisp/calc/calc-embed.el
@@ -417,6 +417,8 @@ With any prefix argument, marks only the formula itself."
417 (forward-char -1)) 417 (forward-char -1))
418 (setq calc-embed-outer-top (point)) 418 (setq calc-embed-outer-top (point))
419 (goto-char (match-end 0)) 419 (goto-char (match-end 0))
420 (if (looking-at "[ \t]*$")
421 (end-of-line))
420 (if (eq (following-char) ?\n) 422 (if (eq (following-char) ?\n)
421 (forward-char 1)) 423 (forward-char 1))
422 (or (bolp) 424 (or (bolp)