From: Feng Li <fengli@gmail.com>
To: emacs-devel@gnu.org
Subject: A bug in trunk/lisp/calc/calc-ext.el
Date: Mon, 15 Aug 2011 23:19:42 +0000 (UTC) [thread overview]
Message-ID: <loom.20110816T011611-803@post.gmane.org> (raw)
Hi guys,
I found a bug in calc which prevents many of the calc functions to load
correctly. It's actually quite easy to fix. Here's the patch:
=== modified file 'lisp/calc/calc-ext.el'
*** lisp/calc/calc-ext.el 2011-05-23 17:57:17 +0000
--- lisp/calc/calc-ext.el 2011-08-15 15:29:31 +0000
***************
*** 2887,2893 ****
(cons 'progn
(mapcar #'(lambda (func)
`(put ',func 'math-integral-2
! `(nconc
(get ',func 'math-integral-2)
(list #'(lambda (u v) ,@code)))))
(if (symbolp funcs) (list funcs) funcs))))
--- 2887,2893 ----
(cons 'progn
(mapcar #'(lambda (func)
`(put ',func 'math-integral-2
! (nconc
(get ',func 'math-integral-2)
(list #'(lambda (u v) ,@code)))))
(if (symbolp funcs) (list funcs) funcs))))
--
Feng Li
next reply other threads:[~2011-08-15 23:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-15 23:19 Feng Li [this message]
2011-08-16 13:44 ` A bug in trunk/lisp/calc/calc-ext.el Jay Belanger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20110816T011611-803@post.gmane.org \
--to=fengli@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).