unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* A bug in trunk/lisp/calc/calc-ext.el
@ 2011-08-15 23:19 Feng Li
  2011-08-16 13:44 ` Jay Belanger
  0 siblings, 1 reply; 2+ messages in thread
From: Feng Li @ 2011-08-15 23:19 UTC (permalink / raw)
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: A bug in trunk/lisp/calc/calc-ext.el
  2011-08-15 23:19 A bug in trunk/lisp/calc/calc-ext.el Feng Li
@ 2011-08-16 13:44 ` Jay Belanger
  0 siblings, 0 replies; 2+ messages in thread
From: Jay Belanger @ 2011-08-16 13:44 UTC (permalink / raw)
  To: Feng Li; +Cc: jay.p.belanger, emacs-devel


> 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:

Thanks; I'll apply it.

Jay



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-16 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-15 23:19 A bug in trunk/lisp/calc/calc-ext.el Feng Li
2011-08-16 13:44 ` Jay Belanger

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).