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
d7ad7a5e
Commit
d7ad7a5e
authored
Jun 28, 2008
by
John Paul Wallington
Browse files
(defmath): Add `doc-string' decl. Add docstring.
parent
5da24108
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/calc/calc.el
lisp/calc/calc.el
+11
-0
No files found.
lisp/ChangeLog
View file @
d7ad7a5e
2008-06-28 John Paul Wallington <jpw@pobox.com>
* calc/calc.el (defmath): Add `doc-string' decl. Add docstring.
2008-06-28 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-handle-file-modes): Handle symlinks.
...
...
lisp/calc/calc.el
View file @
d7ad7a5e
...
...
@@ -3663,6 +3663,17 @@ Also looks for the equivalent TeX words, \\gets and \\evalto."
;;;###autoload
(defmacro defmath (func args &rest body) ; [Public]
"
Define
Calc
function.
Like
`
defun
'
except
that
code
in
the
body
of
the
definition
can
make
use
of
the
full
range
of
Calc
data
types
and
the
usual
arithmetic
operations
are
converted
to
their
Calc
equivalents.
The
prefix
`
calcFunc-
'
is
added
to
the
specified
name
to
get
the
actual
Lisp
function
name.
See
Info
node
`
(
calc
)
Defining
Functions
'.
"
(declare (doc-string 3))
(require 'calc-ext)
(math-do-defmath func args body))
...
...
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