Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
bc47b3f8
Commit
bc47b3f8
authored
Feb 16, 2004
by
Eli Zaretskii
Browse files
(calc-do-embedded-activate): Add autoload
cookie. Don't check if we are looking-at open-formula.
parent
ca4bc494
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/calc/calc-embed.el
lisp/calc/calc-embed.el
+3
-2
No files found.
lisp/calc/calc-embed.el
View file @
bc47b3f8
...
...
@@ -320,6 +320,7 @@ This is not required to be present for user-written mode annotations.")
(
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 @@ This is not required to be present for user-written mode annotations.")
(
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
))))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment