(calc-embedded-make-info): Use `math-read-expr' when
`math-read-big-expr' doesn't work.
This commit is contained in:
parent
cb58ea3322
commit
a48b489eb9
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2006-04-27 Jay Belanger <belanger@truman.edu>
|
||||
|
||||
* calc-embed.el (calc-embedded-make-info): Use `math-read-expr' to
|
||||
read expression when `math-read-big-expr' doesn't work.
|
||||
|
||||
2006-04-27 Reiner Steib <Reiner.Steib@gmx.de>
|
||||
|
||||
* startup.el (command-line-1): Display warning when
|
||||
|
|
|
|||
|
|
@ -932,7 +932,9 @@ The command \\[yank] can retrieve it from there."
|
|||
(substring str pref-len suff-pos)))
|
||||
(if (string-match "[^ \t\n]" str)
|
||||
(setq pref-len 0
|
||||
val (math-read-big-expr str))
|
||||
val (condition-case nil
|
||||
(math-read-big-expr str)
|
||||
(error (math-read-expr str))))
|
||||
(setq val nil))))
|
||||
(if (eq (car-safe val) 'error)
|
||||
(setq val (list 'error
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue