1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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

This commit is contained in:
Jay Belanger 2005-02-01 03:57:08 +00:00
parent d4d668071e
commit 0a18efee86

View file

@ -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]*$")
(end-of-line))
(if (eq (following-char) ?\n)
(forward-char 1))
(or (bolp)