aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Belanger2012-08-07 20:30:58 -0500
committerJay Belanger2012-08-07 20:30:58 -0500
commit2bd255dd8f047650e4c4441061b25532d6290289 (patch)
tree5c4c676d6b1113963ff196b05f6a1c0976eaa23c
parent6125983ea69b948a3419cec4526f9ea9ef4268b8 (diff)
downloademacs-2bd255dd8f047650e4c4441061b25532d6290289.tar.gz
emacs-2bd255dd8f047650e4c4441061b25532d6290289.zip
calc-misc.el (calc-record-why): Don't record a message twice.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/calc/calc-misc.el3
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7a220293eac..a770e64b84f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4
12012-08-07 Andreas Schwab <schwab@linux-m68k.org> 52012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2 6
3 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of 7 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
diff --git a/lisp/calc/calc-misc.el b/lisp/calc/calc-misc.el
index ac1b2621605..1d9c02a47a5 100644
--- a/lisp/calc/calc-misc.el
+++ b/lisp/calc/calc-misc.el
@@ -305,7 +305,8 @@ Calc user interface as before (either C-x * C or C-x * K; initially C-x * C).
305 (string-match "\\`\\*" (car stuff))) 305 (string-match "\\`\\*" (car stuff)))
306 (setq stuff (cons '* (cons (substring (car stuff) 1) 306 (setq stuff (cons '* (cons (substring (car stuff) 1)
307 (cdr stuff))))))) 307 (cdr stuff)))))))
308 (setq calc-next-why (cons stuff calc-next-why)) 308 (unless (member stuff calc-next-why)
309 (setq calc-next-why (cons stuff calc-next-why)))
309 nil) 310 nil)
310 311
311;; True if A is a constant or vector of constants. [P x] [Public] 312;; True if A is a constant or vector of constants. [P x] [Public]