]> git.eshelyaron.com Git - emacs.git/commitdiff
(calc-extended-command-history): New variable.
authorJay Belanger <jay.p.belanger@gmail.com>
Wed, 5 Mar 2008 04:25:10 +0000 (04:25 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Wed, 5 Mar 2008 04:25:10 +0000 (04:25 +0000)
(calc-exectute-extended-command): Use `calc-extended-command-history'.

lisp/ChangeLog
lisp/calc/calc-ext.el

index c376e601a44dd093f66e2707ea49b5f09629e2d9..59cb05477ada1ccfee9fff5af07320dfac2dc786 100644 (file)
@@ -1,3 +1,10 @@
+2008-03-05  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc-ext.el (calc-extended-command-history):
+       New variable.
+       (calc-exectute-extended-command): Use
+       `calc-extended-command-history'.
+
 2008-03-05  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * bindings.el (mode-line-remote): Add mouse-face.  Improve tooltip.
index 5e5ae8166dbe882f812112a84baa58d7ca219f2a..b47279003c6d021838713d4b34b6d56e27dfba51 100644 (file)
@@ -1650,10 +1650,15 @@ calc-kill calc-kill-region calc-yank))))
    (calc-handle-whys)))
 
 
+(defvar calc-extended-command-history nil
+  "The history list for calc-execute-extended-command.")
+
 (defun calc-execute-extended-command (n)
   (interactive "P")
   (let* ((prompt (concat (calc-num-prefix-name n) "M-x "))
-        (cmd (intern (completing-read prompt obarray 'commandp t "calc-"))))
+        (cmd (intern 
+               (completing-read prompt obarray 'commandp t "calc-" 
+                                'calc-extended-command-history))))
     (setq prefix-arg n)
     (command-execute cmd)))