diff options
| author | Eli Zaretskii | 2004-02-16 17:16:22 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2004-02-16 17:16:22 +0000 |
| commit | bc47b3f8c5df34b032877cb097a57d6776cd0595 (patch) | |
| tree | 0e6ad48269f70657bc65340ccbe8aeecdef5da92 | |
| parent | ca4bc494c208ac5b721e46ccec21ab4613ccf348 (diff) | |
| download | emacs-bc47b3f8c5df34b032877cb097a57d6776cd0595.tar.gz emacs-bc47b3f8c5df34b032877cb097a57d6776cd0595.zip | |
(calc-do-embedded-activate): Add autoload
cookie. Don't check if we are looking-at open-formula.
| -rw-r--r-- | lisp/calc/calc-embed.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/calc/calc-embed.el b/lisp/calc/calc-embed.el index 2542a8f648a..5fd77fe625f 100644 --- a/lisp/calc/calc-embed.el +++ b/lisp/calc/calc-embed.el | |||
| @@ -320,6 +320,7 @@ This is not required to be present for user-written mode annotations.") | |||
| 320 | (aset info 8 val) | 320 | (aset info 8 val) |
| 321 | (calc-embedded-update info 14 t t)))) | 321 | (calc-embedded-update info 14 t t)))) |
| 322 | 322 | ||
| 323 | ;;;###autoload | ||
| 323 | (defun calc-do-embedded-activate (arg cbuf) | 324 | (defun calc-do-embedded-activate (arg cbuf) |
| 324 | (calc-plain-buffer-only) | 325 | (calc-plain-buffer-only) |
| 325 | (if arg | 326 | (if arg |
| @@ -341,8 +342,8 @@ This is not required to be present for user-written mode annotations.") | |||
| 341 | (setcdr active (delq (car info) (cdr active))))) | 342 | (setcdr active (delq (car info) (cdr active))))) |
| 342 | (goto-char (point-min)) | 343 | (goto-char (point-min)) |
| 343 | (while (re-search-forward pat nil t) | 344 | (while (re-search-forward pat nil t) |
| 344 | (if (looking-at calc-embedded-open-formula) | 345 | ;;; (if (looking-at calc-embedded-open-formula) |
| 345 | (goto-char (match-end 1))) | 346 | ;;; (goto-char (match-end 1))) |
| 346 | (setq info (calc-embedded-make-info (point) cbuf nil)) | 347 | (setq info (calc-embedded-make-info (point) cbuf nil)) |
| 347 | (or (eq (car-safe (aref info 8)) 'error) | 348 | (or (eq (car-safe (aref info 8)) 'error) |
| 348 | (goto-char (aref info 5)))))) | 349 | (goto-char (aref info 5)))))) |