summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/calc/README13
-rw-r--r--lisp/calc/calc.el3
3 files changed, 17 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6b6a64b9899..253392fe5b8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
+
+ * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
+ after the variable is changed.
+
2012-11-21 Daniel Colascione <dancol@dancol.org>
* progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
diff --git a/lisp/calc/README b/lisp/calc/README
index 25d1a5e9b58..638b482a60a 100644
--- a/lisp/calc/README
+++ b/lisp/calc/README
@@ -70,11 +70,18 @@ opinions.
Summary of changes to "Calc"
------- -- ------- -- ----
+Emacs 24.4
+
+* The date forms use the Gregorian calendar for all dates.
+ (Previously they were a combination of Julian and Gregorian
+ dates.) This can be configured with the customizable variable
+ `calc-gregorian-switch'.
+
Emacs 24.3
-Algebraic simplification mode is now the default.
-To restrict to the limited simplifications given by the former
-default simplification mode, use `m I'.
+* Algebraic simplification mode is now the default.
+ To restrict to the limited simplifications given by the former
+ default simplification mode, use `m I'.
Emacs 24.1
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el
index aeca45ebf26..99e40768467 100644
--- a/lisp/calc/calc.el
+++ b/lisp/calc/calc.el
@@ -508,7 +508,8 @@ the United States."
(integer :tag "Day")))
:set (lambda (symbol value)
(set-default symbol value)
- (setq math-format-date-cache nil)))
+ (setq math-format-date-cache nil)
+ (calc-refresh)))
(defface calc-nonselected-face
'((t :inherit shadow