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
f490dab9
Commit
f490dab9
authored
Sep 20, 2012
by
Stefan Monnier
Browse files
* lisp/calc/calc.el: Fix last change by removing the whole chunk, since it
was only needed back when Calc was not bundled.
parent
96e8d411
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
28 deletions
+5
-28
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/calc/calc.el
lisp/calc/calc.el
+0
-28
No files found.
lisp/ChangeLog
View file @
f490dab9
2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
* calc/calc.el: Fix last change by removing the whole chunk, since it
was only needed back when Calc was not bundled.
2012-09-20 Martin Rudalics <rudalics@gmx.at>
* emacs-lisp/debug.el (debug): Restore assignment to
...
...
lisp/calc/calc.el
View file @
f490dab9
...
...
@@ -912,34 +912,6 @@ Used by `calc-user-invocation'.")
(
defvar
calc-embedded-mode-hook
nil
"Hook run when starting embedded mode."
)
;; Set up the autoloading linkage.
(
let
((
name
(
and
(
fboundp
'calc-dispatch
)
(
autoloadp
(
symbol-function
'calc-dispatch
))))
(
p
load-path
))
;; If Calc files exist on the load-path, we're all set.
(
while
(
and
p
(
not
(
file-exists-p
(
expand-file-name
"calc-misc.elc"
(
car
p
)))))
(
setq
p
(
cdr
p
)))
(
or
p
;; If Calc is autoloaded using a path name, look there for Calc files.
;; This works for both relative ("calc/calc.elc") and absolute paths.
(
and
name
(
file-name-directory
name
)
(
let
((
p2
load-path
)
(
name2
(
concat
(
file-name-directory
name
)
"calc-misc.elc"
)))
(
while
(
and
p2
(
not
(
file-exists-p
(
expand-file-name
name2
(
car
p2
)))))
(
setq
p2
(
cdr
p2
)))
(
when
p2
(
setq
load-path
(
nconc
load-path
(
list
(
directory-file-name
(
file-name-directory
(
expand-file-name
name
(
car
p2
))))))))))))
;; The following modes use specially-formatted data.
(
put
'calc-mode
'mode-class
'special
)
(
put
'calc-trail-mode
'mode-class
'special
)
...
...
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