Mercurial > emacs
diff lisp/calc/calc-embed.el @ 53996:28c3a99598f0
(calc-do-embedded-activate): Add autoload
cookie. Don't check if we are looking-at open-formula.
author | Eli Zaretskii <eliz@is.elta.co.il> |
---|---|
date | Mon, 16 Feb 2004 17:16:22 +0000 |
parents | 695cf19ef79e |
children | 344baab70c72 |
line wrap: on
line diff
--- a/lisp/calc/calc-embed.el Mon Feb 16 17:05:44 2004 +0000 +++ b/lisp/calc/calc-embed.el Mon Feb 16 17:16:22 2004 +0000 @@ -320,6 +320,7 @@ (aset info 8 val) (calc-embedded-update info 14 t t)))) +;;;###autoload (defun calc-do-embedded-activate (arg cbuf) (calc-plain-buffer-only) (if arg @@ -341,8 +342,8 @@ (setcdr active (delq (car info) (cdr active))))) (goto-char (point-min)) (while (re-search-forward pat nil t) - (if (looking-at calc-embedded-open-formula) - (goto-char (match-end 1))) +;;; (if (looking-at calc-embedded-open-formula) +;;; (goto-char (match-end 1))) (setq info (calc-embedded-make-info (point) cbuf nil)) (or (eq (car-safe (aref info 8)) 'error) (goto-char (aref info 5))))))