mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Fix recursive load when 'calc-always-load-extensions' is set
* lisp/calc/calc.el (calc-create-buffer): Call 'calc-load-everything'. (calc-always-load-extensions): Delete erroneous stanza. (Bug#79157)
This commit is contained in:
parent
aa60f16e66
commit
b85f9d6a97
1 changed files with 2 additions and 6 deletions
|
|
@ -1468,7 +1468,8 @@ commands given here will actually operate on the *Calculator* stack."
|
|||
(calc-mode))
|
||||
(setq max-lisp-eval-depth (max max-lisp-eval-depth 1000))
|
||||
(when calc-always-load-extensions
|
||||
(require 'calc-ext))
|
||||
(require 'calc-ext)
|
||||
(calc-load-everything))
|
||||
(when calc-language
|
||||
(require 'calc-ext)
|
||||
(calc-set-language calc-language calc-language-option t)))
|
||||
|
|
@ -3522,11 +3523,6 @@ See Info node `(calc)Defining Functions'."
|
|||
(defcalcmodevar math-half-2-word-size 2147483648
|
||||
"One-half of two to the power of `calc-word-size'.")
|
||||
|
||||
(when calc-always-load-extensions
|
||||
(require 'calc-ext)
|
||||
(calc-load-everything))
|
||||
|
||||
|
||||
(run-hooks 'calc-load-hook)
|
||||
|
||||
(provide 'calc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue