bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36720: [PATCH] [Calc] Fix saving user-defined compositions


From: Jack Coughlin
Subject: bug#36720: [PATCH] [Calc] Fix saving user-defined compositions
Date: Thu, 18 Jul 2019 08:32:48 -0700
User-agent: mu4e 1.2.0; emacs 26.2

When saving a user-defined formula by specifying its ~z-~ key, or the
~M-x~ command name, its compositions are not saved correctly. The
attached patch fixes this behavior.

--- notes on the code change ---

~func~ is the calcFunc- symbol representing the formula.
~cmd~ is either the calc- symbol representing the command, or, if we
are saving just the formula, the calcFunc- symbol.

We always want to associate the composition forms to the calcFunc-
version. Observe for example that two lines below, this is the symbol
that we pull them from to save.

Attachment: 0001-Fix-bug-when-saving-user-defined-commands-with-compo.patch
Description: patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]